Y
Hacker News
new
|
ask
|
show
|
jobs
by
marktucker
3146 days ago
They are maintaining two branches. The 3.x branch has the same API as 2.x and works with React 16.
1 comments
jamier1978
3146 days ago
That's good to know. React Router is the only thing stopping me from updating to React 16. I can't find an NPM package, so assume you need to point it at Github?
link
marktucker
3144 days ago
You can do:
npm install --save react-router@3
which will add "react-router": "^3.2.0" to your package.json.
link
evan_
3146 days ago
Just set the “react-router” entry in packages.json to “^3.0.0”
link