Re:Merging Remix and React Router
by sa46 on Wednesday May 15, 2024 @09:53PM
(#40374470)
I haven’t used Remix, but I regret choosing react-router due to frequent major version upgrades.
[ Parent
| on HN ]
Re:Merging Remix and React Router
by slimebot80 on Wednesday May 15, 2024 @10:01PM
(#40374519)
If you are happy with one version you can just stick to it?
You don't have to update your phone and laptop every year, even if you are made to feel so.
In our case we wanted to upgrade another dependency (react-admin) which necessitated a react-router upgrade, which we used throughout the rest of our application, so it was a reasonable amount of work and sticking to the old one was not an option.
I wish this were true. In the modern JavaScript ecosystem you either pin everything or pin nothing.
You do have to upgrade. At some point incompatibilities between libraries arise, and if neglected for too long at some point it becomes impossible to update everything. Keeping dependencies up to date is an important part of software maintenance.
Those breaking changes were especially painful in React Native apps. Thankfully there are some good alternatives now.
Re:Merging Remix and React Router
by phantomathkg on Thursday May 16, 2024 @01:11AM
(#40375391)
Would you mind sharing what are they?
You could take a look at these:
Re:Merging Remix and React Router
by throwaway11460 on Thursday May 16, 2024 @02:39AM
(#40375804)
Wouter is great, I recommend.
...and completely changing how everything works on each major version change.