We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9201ea7 commit 9c86570Copy full SHA for 9c86570
1 file changed
readme.md
@@ -62,9 +62,8 @@ loader.current; // "idle"
62
loader.next("FETCH");
63
loader.current; // "loading"
64
65
-loader.results.then((result) => {
66
- console.log("Fetched", result.fetchData);
67
- // Use response of fetch()
+loader.results.then((results) => {
+ console.log("Fetched", results.fetchData); // Use response of fetch()
68
loader.current; // "success"
69
});
70
@@ -113,8 +112,8 @@ loader.current; // "idle"
113
112
114
115
116
-loader.results.then(([response]) => {
117
118
119
120
```
0 commit comments