npm install --save react-router@3
which will add "react-router": "^3.2.0" to your package.json.We had a lot of pain doing this rewrite ourselves, but I must say it was worth it in the end.
Unfortunately, this is major version 4, so who is to say that the repo maintainers don't find an even better way to do it in six months, prompting a version 5 and so on...
The only things we're looking at for another major version are some changes to the default API behaviors (making `exact` default to true, for instance). There are potentially some changes to path matching, but that's being driven by path-to-regexp, not our own development.
Yes, 4.0 was a big change, but a necessary one. Now that we're in a great place, we plan on keeping things relatively stable indefinitely. Pencils down, as it were. Outside of some major upstream change with React itself, future versions will be more evolutionary than revolutionary.
> Yes, 4.0 was a big change, but a necessary one. Now that we're in a great place, we plan on keeping things relatively stable indefinitely.
Out of curiosity, was this also the thinking when 3.x was released?
Or when 3.x was released was there more of a philosophy that the problem space was still being explored, and major design changes were still possible and acceptable?