-
Notifications
You must be signed in to change notification settings - Fork 7
react-router-dom v6 support? #172
Comments
Thanks, you're welcome to suggest a PR for it! I will try to take it soon. |
|
I need some help here. If there are breaking changes in |
Hi @baruchiro In my opinion, you shouldn't support V5 and V6 in same time in your library. Create a new major version of you library who indicate that react-router v5 it's doesn't support anymore. |
Hi @s-roueche, thanks! I think it means that I have two options. One is to stop supporting V5, and the other one is to maintain two branches. Since V6 is still not stable and since the migration is a big issue, I think I need to choose option two. WDYT? |
If you take a look to the historical version of react-router-dom, you can see they don't work a lot on version V5 anymore. You can still create two branches, I think you won't have a lot of work to do for the version 5 in the futur. About the version 6, you can see now on npm, that the version 6 is almost 3 times more downloaded than the version 5. |
If you want I started to implement the migration to v6 on a personal branch. There are just 4 tests failed.... I don't really understand how to fixe it 😓 If you want I can push it on your repo ? |
Yes, sure! Thank you, I will be happy to see your branch. I also did some local work for the upgrade, and also failed on tests, you can see it here: #176. |
I wasn't able to push my branch on your repo because I don't have the permission. Can you give me the permission to do it ? my username is @s-roueche |
You should push your fork and open a PR. Use |
It's done. |
I wrote my own package to handle state using search params with |
@jschwindt Why not implement it here? |
I extracted it from an app that I was working on, and the usage is slightly different. I commented here just in case it is useful for somebody else. |
Will there be a version compatible with v6 or will this be staying with v5? |
I will deprecate this package. |
https://reactrouter.com/docs/en/v6/upgrading/v5
The text was updated successfully, but these errors were encountered: