Hacker News new | ask | show | jobs
by codeptualize 1595 days ago
I'm not sure I read that in the article.

I also don't see why switching to Preact does not require updating, they even mention they will have to do this anyway, including some of their routing dependencies. Preact seems to be keen on keeping compatibility with React, referring to the current and previous versions, so it is very likely updates need to happen regardless.

Also, upgrading React is usually not too much effort as for most changes codemods are provided that do most of the work. Not saying it doesn't require effort at scale, but I don't see or read how Preact would make that any easier. Considering you'll use React libraries in Preact I would be worried about upgrading and compatibility later on.

I'm honestly interested as the lower bundle size is significant, but I'd like to know the other pros/cons and risks that surely are there.