upgrade to react-router 4?
See original GitHub issueSo React Router 4 is the current stable version, there seems to be a ton of changes. For example, hashHistory
is no longer defined. But there seem to be some good features.
I want to ask you guys if you think we should migrate from v3 to v4? I think we probably eventually have to do it, but if it’s done earlier, it might be better?
What do you think?
Here is the doc for v4 https://reacttraining.com/react-router/
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to upgrade to React Router 4 - freeCodeCamp
So, I was tasked with upgrading our router to v4 after only being in the position and working with React for about 2...
Read more >How to upgrade React Router in 4 steps - InDepth.Dev
How to upgrade React Router in 4 steps. React-router version 6 was released and this is quite important because react-router is one of...
Read more >React Router v4 Unofficial Migration Guide - codeburst
React Router v4 Unofficial Migration Guide · Change react-router to react-router-dom · Use Specialized Router Components · Add <Switch> to List of Routes...
Read more >Upgrading from v5 v6.6.1 - React Router
Upgrade all <Switch> elements to <Routes>. React Router v6 introduces a Routes component that is kind of like Switch , but a lot...
Read more >Moving from react router 3.x to 4.x - Stack Overflow
If you want to upgrade, there is an upgrade guide coming soon, according to an official source: We believe very strongly in iterative...
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
Sure I can take a look.
are you interested in looking into possible migrating our app to v4?
Or at least to see how feasible it is to do it? Or whether it is worth the effort? @cjudge1337