Hacker News new | ask | show | jobs
by TranquilMarmot 1690 days ago
Seriously, the upgrades are always such a massive pain.

The v5 -> v6 doc is already making me dizzy just from how long it is https://reactrouter.com/docs/en/v6/upgrading/v5

1 comments

People should really take Next.js as an example here.

They make sure it's backwards compatible as much a possible and when it's not they provide a codemod or the app tells you what's wrong (and how to fix it!) when you try to run it.

If course the latter is hard/impossible with a lower level library like this but the former is def. possible.

Emotion css decided to rename/reshuffle all their packages and imports in v11 which was a massive pain, but with the provided codemod that migration was not too painful.