DEV Community

Discussion on: Why to use React if HTML/CSS/JS works fine?

Collapse
mukuljainx profile image
Mukul Jain

No matter how small React is, it will still bring something do the table and it's about 41kb gzipped (react + react-dom) thats a lot, so a plain JS is better for small work like you mentioned btw also checkout preact (never personally used) it's way smaller with and sufficient for a lot of use cases.

Thread Thread
pengeszikra profile image
Peter Vivo

Yes preact is smaller react, and I work with them around 3 years, and its fine! But in my use case : complex scientic desktop application that few kb. isn't count, however larger React compatibile libraries still important.