3 ms·
Yeah, the size of React still bugs me when Preact shows you can do 90% of the same stuff with a tiny fraction of the code.
by afavour 5y ago
Yeah, the size of React still bugs me when Preact shows you can do 90% of the same stuff with a tiny fraction of the code.
- epolanski 5y agoMore like 99%. React's rendering and diffing is more performant though.
- mhoad 5y agoReact is pretty terrible in terms of both performance and size compared to something a bit closer to the platform like lit.dev
- rschristian 5y agoThat's an interesting claim. While it's a far-cry from a realistic test (few people are creating 1000 rows), React seems to be less performant across the board: https://krausest.github.io/js-framework-benchmark/2022/table_chrome_99.0.4844.51.html https://krausest.github.io/js-framework-benchmark/2022/table...
- epolanski 5y agoI actually might be wrong. I remember danabramov claiming more than once on twitter to people praising preact's bundle size, that it also came with a performance cost when it came to diffing and rendering because React had much more code to handle the many edge cases where preact would hit walls.