-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Deprecation of react-router-redux #1999
Comments
Not yet but I guess we'll have to use https://github.com/supasate/connected-react-router |
I've been using https://github.com/FormidableLabs/redux-little-router with some projects, just to point at another option |
@ignlg Thanks a ton for passing that along! |
Can we use react-router's {withRouter} replace react-router-redux's {routerReducer} ? |
https://reacttraining.com/react-router/core/guides/redux-integration/deep-integration They say not suggested use router in redux, I'm a noob, why you choose use router in redux? what's the benefit? |
What about React Navigation? They support Web and SSR too. |
We've decided to replace react-router-redux with nothing - i.e. do not change route using actions from a third-party library but from the history. This is a breaking change. |
After re-reading https://reacttraining.com/react-router/core/guides/redux-integration/deep-integration, the proposed solution (do not integrate react-router with redux) seems cumbersome and a very big BC break, because each action that may lead to a redirection must have the So we'll go with connected-react-router, but they haven't integrated react-redux v7 yet (see supasate/connected-react-router#287). |
Fixed by #3170 |
React-router-redux is deprecated as can be seen here:
https://github.com/ReactTraining/react-router/tree/master/packages/react-router-redux
Any plans on finding an alternative?
The text was updated successfully, but these errors were encountered: