Skip to content

Commit

Permalink
Add the information on how to use it with Redux Saga
Browse files Browse the repository at this point in the history
Related to #133.
  • Loading branch information
zalmoxisus committed Jun 11, 2016
1 parent 61f01e1 commit 65c0aa2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@
### I just see empty log or "No store found"

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).

### Extension ignores Redux Saga or other store enhancers which change the store object

Update the store after creating / changing:

```js
if (window.devToolsExtension) window.devToolsExtension.updateStore(store)
```

See [the example for Redux Saga](https://github.com/zalmoxisus/redux-devtools-extension/blob/0757dac4c2eb217d7bbb8be738d8bae32ec21d86/examples/saga-counter/src/main.js#L25).

0 comments on commit 65c0aa2

Please sign in to comment.