News for hackers. Stuff that matters.
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.
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.

Re:Merging Remix and React Router by crummy on Wednesday May 15, 2024 @11:21PM (#40374897)
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.
Re:Merging Remix and React Router by doomroot on Wednesday May 15, 2024 @10:34PM (#40374669)
I wish this were true. In the modern JavaScript ecosystem you either pin everything or pin nothing.
Re:Merging Remix and React Router by 0xblinq on Thursday May 16, 2024 @01:24AM (#40375458)
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.
Re:Merging Remix and React Router by cageface on Wednesday May 15, 2024 @10:14PM (#40374588)
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?
Re:Merging Remix and React Router by cageface on Thursday May 16, 2024 @02:06AM (#40375653)
Re:Merging Remix and React Router by throwaway11460 on Thursday May 16, 2024 @02:39AM (#40375804)
Wouter is great, I recommend.
Re:Merging Remix and React Router by timw4mail on Wednesday May 15, 2024 @10:00PM (#40374514)
...and completely changing how everything works on each major version change.
Re:Merging Remix and React Router by 0xblinq on Thursday May 16, 2024 @01:23AM (#40375451)
Take one more sir.