You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Usage with redux-thunk](#usage-with-redux-thunk)
29
-
-[Usage with redux-saga](#usage-with-redux-saga)
30
-
-[Example with everything](#example-with-everything)
31
-
-[Advanced](#advanced)
32
-
-[API](#api)
33
-
-[Other similar libraries](#other-similar-libraries)
34
-
-[Caveats](#caveats)
23
+
*[Getting started](#getting-started)
24
+
*[Installation](#installation)
25
+
*[The Idea](#the-idea)
26
+
*[Usage](#usage)
27
+
*[Dependency injection](#dependency-injection)
28
+
*[Usage with redux-thunk](#usage-with-redux-thunk)
29
+
*[Usage with redux-saga](#usage-with-redux-saga)
30
+
*[Example with everything](#example-with-everything)
31
+
*[Advanced](#advanced)
32
+
*[API](#api)
33
+
*[Other similar libraries](#other-similar-libraries)
34
+
*[Caveats](#caveats)
35
35
36
36
# reducktion
37
37
@@ -653,7 +653,9 @@ const model = createModel({
653
653
});
654
654
```
655
655
656
-
If you need to access the API action types eg. in `reactions` or in `sagas` you can do it in the following way:
656
+
In some cases your actions don't need to update the state in any way and you might just want to listen to the action in your sagas. For these cases Reducktion also provides a helper function `fetchable.noop()` that returns a no-op reducer so the action won't update the state but you can still the action type when setuping your saga watchers.
657
+
658
+
If you need to access the fetchable action types also in your `reactions` you can do it in the following way:
0 commit comments