-
Notifications
You must be signed in to change notification settings - Fork 594
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
Upgrade to RRv6? #397
Comments
I just started working on it on the dev branch. Now, it passes all unit tests, but I haven't tested it on some sample apps and will do during weekends. Feel free to check it out and let me know if it works. Note that there is a minor issue on RRv6 on history listening that causes a memory leak warning. I tried to fix it in this PR remix-run/react-router#7195. |
@supasate Could you maybe release a preview version that's working with v6? I'd like to test it in my project and give feedback 🙂 |
Just bumping this issue and echoing the request for a preview version release (if possible)! react-router v6 entered beta stage about a month ago, and I'm looking forward to upgrading to and using the latest versions of these packages. |
Hello. I created a temporary solution for react-router 6 navigation from redux-saga (a very simple version of connected-react-router). It includes redux middleware, reducer, one action (push), and BrowserRouter component. You can try it unless the new version of connected-react-router will have been created.
In your index.tsx
In your saga
|
See #438 for a temporary fix. I am not sure it is the correct/performant way to support the new React Router v6-beta.0, but it works. |
Hello @supasate, |
Ping ping. @supasate any chance for an alpha or beta version with support for |
Same here, I'm getting tons of errors trying to implement this on react-router-dom v6.0.0-beta, like this one: |
I installed the version on the dev branch, and now I just got this error: |
react router was released to 6.0.0 version. |
Currently, connected-react-router just supports React router v4/5. I tested it, it ran with error @.@ |
When to support React router v6? |
Any updated? |
When will we get this for v6? |
More than 2 years, still no update? |
I think we can consider it will never be done |
I think currently they don't provide support in near future. If you still want to use it with react-router@v6. You can make small tweak as follows.
Rest of it is same as before. |
react-router
is about to release v6 soon (as of today, v6.0.0-alpha.2 is out). Willconnected-react-router
be compatible with the new version, or is an upgrade planned soon?Sorry if I missed any info on this.
The text was updated successfully, but these errors were encountered: