Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redux 4.0 support? #499

Closed
alexey-pelykh opened this issue May 9, 2018 · 8 comments
Closed

Redux 4.0 support? #499

alexey-pelykh opened this issue May 9, 2018 · 8 comments

Comments

@alexey-pelykh
Copy link

Since release of redux@4.0.0, there's a

warning " > redux-devtools-extension@2.13.2" has incorrect peer dependency "redux@^3.1.0".

Is redux-devtools-extension compatible with redux@4.0.0?

@ChristianDavis
Copy link

It is not, the current version 2.15.2 for chrome has an issue with INIT

@Dabolus
Copy link

Dabolus commented May 11, 2018

Since it is considered an anti-pattern, the Redux team decided to append a random string to the INIT action. I guess this is causing the issue

@iosdev-republicofapps
Copy link

Hi, is there a fix for this? It's not clear how to use straight react-native-debugger and I was depending on this for redux debugging ... I use middleware and am not sure how to set things up without composeWithDevTools. :-)

@deavial
Copy link

deavial commented Jun 12, 2018

I am confused on this issue. I am running both redux@4.0.0 and redux-devtools-extension@2.13.2 without any issues. What is not working? My abbreviated setup looks like this:

const compose = composeWithDevTools({});
const middleware = compose(
         responseiveStoreEnhancer,
         applyMiddleware(
                thunk,
                promiseMiddleware(),
                getStateMiddleware
         )
);
export default initialState => (createStore(reducer, initialState || defaultInitialState, middleware));

@iosdev-republicofapps
Copy link

@victoriafrench it's a dependency issue - redux-devtools-extension requires an obsolete version of RN and React.

@deavial
Copy link

deavial commented Jun 13, 2018

@iosdev-republicofapps yea I get that, but I have paired the two together and am not seeing an issue unless it is a feature I am not using. But it sees all the dispatched messages and lets me navigate through time etc. So I am asking what is actually broken when the dependency is updated.

@thmsobrmlr
Copy link

@victoriafrench This is right of the top of my head, but maybe it can point in the right direction: I was experiencing issues when upgrading to redux v4 in an app based on react-boilerplate. The app was crashing with redux-devtools-extension when navigating to another page.

@jhen0409
Copy link
Collaborator

The npm package (v2.13.3) is now supported Redux v4. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants