Skip to content

Commit 65c0aa2

Browse files
committed
Add the information on how to use it with Redux Saga
Related to #133.
1 parent 61f01e1 commit 65c0aa2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/Troubleshooting.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@
33
### I just see empty log or "No store found"
44

55
Make sure you [applied the enhancer](https://github.com/zalmoxisus/redux-devtools-extension#2-use-with-redux). Note that passing enhancer as last argument requires redux@>=3.1.0. For older versions apply it like [here](https://github.com/zalmoxisus/redux-devtools-extension/blob/v0.4.2/examples/todomvc/store/configureStore.js) or [here](https://github.com/zalmoxisus/redux-devtools-extension/blob/v0.4.2/examples/counter/store/configureStore.js#L7-L12).
6+
7+
### Extension ignores Redux Saga or other store enhancers which change the store object
8+
9+
Update the store after creating / changing:
10+
11+
```js
12+
if (window.devToolsExtension) window.devToolsExtension.updateStore(store)
13+
```
14+
15+
See [the example for Redux Saga](https://github.com/zalmoxisus/redux-devtools-extension/blob/0757dac4c2eb217d7bbb8be738d8bae32ec21d86/examples/saga-counter/src/main.js#L25).

0 commit comments

Comments
 (0)