News for hackers. Stuff that matters.
Re:Etsy Moves from React to Preact by eyelidlessness on Saturday February 05, 2022 @06:41PM (#30227568)
I’m not sure I could quantify it, but CDNs were a prominent recommendation for React at least until CRA was pervasive.

Another thing worth mentioning, and another point in Preact’s favor, is ESM and tree-shaking. React still doesn’t officially ship ESM, and the ability to strip unused functionality at build time is hampered by that because ESM is more amenable to static analysis. Whereas Preact, which is already much smaller on the wire, can become smaller still because it supports ESM.

There are no comments on this comment yet.