|
|
|
|
|
by throwitaway1123
507 days ago
|
|
Preact is definitely a good choice if you're looking for something lightweight. React-dom was already relatively hefty, and seems to have gotten even larger in version 19. Upgrading the React TypeScript Vite starter template from 18 to 19 increases the bundle size from 144kB to 186kB on my machine [1][2]. They've also packaged it in a way that's hard to analyze with sites like bundlephobia.com and pkg-size.dev. [1] https://github.com/facebook/react/issues/27824 [2] https://github.com/facebook/react/issues/29913 |
|