4 ms·
They are maintaining two branches. The 3.x branch has the same API as 2.x and works with React 16.
by marktucker 9y ago
They are maintaining two branches. The 3.x branch has the same API as 2.x and works with React 16.
- jamier1978 9y agoThat'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?
- evan_ 9y agoJust set the “react-router” entry in packages.json to “^3.0.0”
- marktucker 9y agoYou can do: npm install --save react-router@3 which will add "react-router": "^3.2.0" to your package.json.