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.

still working with react-router@4?

See original GitHub issue

hello i am trying use this with react-router@4

but it don’t work as expect.

package.json still dep on react-router@2, got any plan to make it compatible with v4?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
maisanocommented, Mar 17, 2017

@axetroy there’s no reason it wouldn’t be compatible, i just haven’t gotten around to updating package.json to reflect this. feel free to pr 😃

0reactions
maisanocommented, May 10, 2017

@axetroy if you pass in the parent’s location prop to the Switch, things should work okay. there’s a new example in the readme.

Read more comments on GitHub >

github_iconTop Results From Across the Web

All About React Router 4 - CSS-Tricks
This post is going to dig into to React Router 4, how it's so different from previous React Router versions, and why that...
Read more >
Quick Start - React Router: Declarative Routing for React.js
It's a popular tool that works really well with React Router. First, install create-react-app and make a new project with it. npx create-react-app...
Read more >
React Router 6.4 - Getting Started - YouTube
Get started with React Router 6.4, learn how it differs from 6.x and how you can use its amazing new data-fetching (and submission)...
Read more >
React Router v4 routes not working - Stack Overflow
React Router v4 routes not working · Are there any messages in the console? It may be an issue with the About component...
Read more >
React Router 4: A Practical Introduction - Auth0
TL;DR: React Router 4 is a body of navigational components that offers declarative routing in your React apps. In this tutorial, you are ......
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