Skip to content

Commit ecbf505

Browse files
committed
Add information about how to use it together with vanilla Redux DevTools
1 parent 87a539f commit ecbf505

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ If you do not know what [Redux DevTools](https://github.com/gaearon/redux-devtoo
4545
typeof window === 'object' && typeof window.devToolsExtension !== 'undefined' ? window.devToolsExtension() : f => f
4646
)(createStore);
4747
```
48+
You can use it together with vanilla Redux DevTools as a fallback, but not both simultaneously:
49+
```js
50+
window.devToolsExtension ? window.devToolsExtension() : DevTools.instrument()
51+
```
4852

4953
- **With Redux@^3.1 it's [even easier](https://github.com/zalmoxisus/redux-devtools-extension/commit/9c631ef66f53e51f34b55f4642bd9ff2cbc7a992)**<br/>
5054
```javascript

0 commit comments

Comments
 (0)