News for hackers. Stuff that matters.
Re:Etsy Moves from React to Preact by jacobmischka on Saturday February 05, 2022 @04:01AM (#30219270)
You clearly didn't read the article. It mentions that in addition to the (relatively small) bundle size savings, the version of Preact they were investigating (as of 2020 when it was written) was also more compatible with the current version of React they were using at the time than the newest version of React (15 -> 16 had a lot of breaking changes). I don't believe the bundle size was really a major contributor to the decision honestly.
Re:Etsy Moves from React to Preact by MoSattler on Monday February 14, 2022 @07:55AM (#30331440)
You clearly didn't read the HN guidelines, judging by this and your other comments.

> Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Please don't fulminate. Please don't sneer, including at the rest of the community.

https://news.ycombinator.com/newsguidelines.html

Re:Etsy Moves from React to Preact by tracerbulletx on Sunday February 06, 2022 @12:01AM (#30229622)
There were almost no significant breaking changes between 15 and 16, the chances of an app even using one of the few APIs that changed was very very small..
Re:Etsy Moves from React to Preact by jacobmischka on Sunday February 06, 2022 @03:34AM (#30230535)
Rather, their dependencies seem to have had breaking changes for some reason when updating those versions. I don't know, that's what the article claimed.
Re:Etsy Moves from React to Preact by ComradePhil on Saturday February 05, 2022 @06:55AM (#30220247)
Doesn't explain why they could not have continued using React 15.
Re:Etsy Moves from React to Preact by jacobmischka on Saturday February 05, 2022 @08:05AM (#30220603)
Did you read the article either?

> While it would be really hard to describe here in detail all of the new features, the code architecture improvements enabled by the React v16.8 Hooks functionality are so significant that it will eventually become harder and harder to recruit developers interested in working in a pre-Hooks codebase. In order to keep up with the rest of the industry and provide our current developers with the best tooling available, I believe it should be a high priority to enable use of Hooks and other modern React functionality. This definitely isn’t anywhere close to the only new feature worth upgrading for, but it does represent an extremely large shift in how developers will be able to write React code.