question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

upgrade to react-router 4?

See original GitHub issue

So 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/

@nguyenkevin16 @asherman-ca @rlee0525 @cjudge1337

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cjudge1337commented, Apr 19, 2017

Sure I can take a look.

0reactions
davidhu2000commented, Apr 19, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found