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

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?
You can do:

    npm install --save react-router@3
which will add "react-router": "^3.2.0" to your package.json.
Just set the “react-router” entry in packages.json to “^3.0.0”