Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
marktucker
· 9y ago · 0 comments
They are maintaining two branches. The 3.x branch has the same API as 2.x and works with React 16.
Comments
[–]
jamier1978
9y 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?
[–]
marktucker
OP
9y ago
You can do:
npm install --save react-router@3
which will add "react-router": "^3.2.0" to your package.json.
[–]
evan_
9y ago
Just set the “react-router” entry in packages.json to “^3.0.0”