> We intend to keep supporting the 3.x branch indefinitely (published separately on npm to aid in migration), although there will likely not be any future major versions based on that code. 4.0 is the future, but we won't leave you hanging if you want to stick with 2.x/3.x.
https://github.com/ReactTraining/react-router/releases/tag/v...
Previously discussed here: https://news.ycombinator.com/item?id=12511419
I don't see the benefit of switching if v3 allowed me to ssr and code split while v4 doesn't allow me to do both.
From the user pov it went from instantly displayed page with minimal js required to choosing one of those options.
What benefits could exist that supercede giving the user the best possible experience? (Genuine question).
I can't imagine huge speed gains going from one page to the next from this change and indeed changing pages in SPAs are essentially instant. So what could possibly be better that makes it worth getting rid of ssr and code splitting? Imo I won't be using react-router in future products because they are too fickle with their codebase.
react-router has recent gone from version 3 to version 4, which is essentially a completely new and almost unrelated piece of software to V3 and requires a major rearchitecture of your application to make the transition. In effect it is one big breaking change.