Using with redux-devtools-extension
See original GitHub issueI am trying to use it with redux-devtools-extension
and i am getting the following error:
Uncaught TypeError: a.subscribe is not a function
I then tried adding redux’s subsribe method here: https://github.com/logux/logux-redux/blob/master/create-logux-creator.js#L127
var middlewared = enhancer(function () {
return {
getState: store.getState,
+ subscribe: store.subscribe,
dispatch: dispatch
}
})(reducer, preloadedState)
This solves the issue but nowredux-devtools-extension
does not seam to find any store.
Also using the normal store.dispatch
throws an error.
Has anybody managed to combine logux-redux
with redux-devtools-extension
?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Setting Up Redux DevTools — A Simple Guide - Medium
1.Adding Redux DevTools extension to our browser (Google Chrome) Download and install Redux DevTools extension to your chrome browser as shown ...
Read more >Redux Devtools for Dummies - codeburst
Install Redux browser dev-tools (Chrome and Firefox) · Install dev-tools npm package and import it into store file · Open developer tools with...
Read more >What is Redux DevTools and how to use them - Rootstack
Using Redux DevTools. The first thing is to install the extension in your browser, a very important one to connect your browser to...
Read more >Redux DevTools
The extension provides power-ups for your Redux development workflow. Apart from Redux, it can be used with any other architectures which handle the...
Read more >zalmoxisus/redux-devtools-extension - GitHub
1.3 Use redux-devtools-extension package from npm ... and to use like so: import { createStore, applyMiddleware } from 'redux'; import { composeWithDevTools } ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi. Thanks for waiting. I added
change
event to the store 80f5cb7Thx for the encouragement. I like the idea and i will give it a shot.