3 ms·
> JSX is why most React folks stick with React, not knowing they can use Preact or just NakedJSX if they wish. The large ecosystem of component libraries and t
by nicoburns 3y ago
> JSX is why most React folks stick with React, not knowing they can use Preact or just NakedJSX if they wish.
The large ecosystem of component libraries and the backing of a large corporate company is why people continue to use React. That, and that the extra 100kb that comes with React is generally dwarfed by the actual application in any large app.
- explaininjs 3y agoI'm using preact for a few projects and the integration with React stuff is generally seamless, but there are enough rough edges encountered that looking back I wouldn't mind taking the difference of a few dozen kB to avoid them all. The vast majority of my load time is taken by TTFB, even from the Cloudflare Pages local cache, so worrying about kilobytes seems misguided.