News for hackers. Stuff that matters.
Re:React Router 6 by vbg on Thursday November 04, 2021 @06:02AM (#29105220)
I still feel resentful about how earlier versions of react router had massive breaking changes effectively completely changing it, provided no documentation and no help at all even understanding the new thing let alone explaining how to upgrade.

To be fair I believe I once read they now don’t do that but it was truly scarring to naively update to the newest version thinking my app would need a few tweaks to get going again, when in fact big chunks needed rewriting, with zero help from the developers.

Re:React Router 6 by dbbk on Thursday November 04, 2021 @06:32AM (#29105378)
That's the definition of a major version change though...
Re:React Router 6 by yladiz on Thursday November 04, 2021 @08:26AM (#29106263)
A major version change may (or may not) have some breaking changes, but most good libraries have migration guides and documentation on how to upgrade. Presumably the parent comment was annoyed that the breaking changes also included no docs or guides.
Re:React Router 6 by btown on Thursday November 04, 2021 @09:29AM (#29106919)
Theoretically yes, but if you think of the metric of % of library-interacting lines of code an average library user needs to change to upgrade, React Router has been a huge outlier compared to other libraries in the React ecosystem. Your routing components would change completely. And the maintainers saw no problem with this.
Re:React Router 6 by vbg on Thursday November 04, 2021 @06:57AM (#29105538)
False.