News for hackers. Stuff that matters.
Re:You should know this before choosing Next.js by tmpz22 on Wednesday March 26, 2025 @10:32AM (#43482681)
React-router can still cause weird build issues to this day, particularly with LLM generated code that cannot understand version compatibilities.
Re:You should know this before choosing Next.js by nonethewiser on Wednesday March 26, 2025 @10:37AM (#43482737)
An emergent benefit of stability
Re:You should know this before choosing Next.js by amrocha on Wednesday March 26, 2025 @02:21PM (#43485178)
If you try to build incompatible code and it doesn’t work, that’s not a bug
Re:You should know this before choosing Next.js by tmpz22 on Wednesday March 26, 2025 @09:51PM (#43489633)
I'd argue there are too many incompatibilities between minor and major version changes between the "core" react libraries (DOM, react-router, etc) and those teams were a bit reckless with the API surfaces and how they fit together.

At the end of the day it's free software and it's not like I've been submitting PRs to improve it. Further react-router is something you can setup at the beginning of a project and largely never touch again. Its not the end of the world, but it does cut a lot of folks who are new to React, Frontend, etc., and contributes meaningful costs to frontend development as a whole.

Re:You should know this before choosing Next.js by amrocha on Thursday March 27, 2025 @03:15AM (#43491142)
I’d argue you should read the docs and write code that works and you wouldn’t have any problems