Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

React is extremely bloated. I don’t think it can justify its weight on content pages. If all you need are some show hide buttons and a CSS animation, it’s way too heavy. That’s a pretty good reason to look at other tools.


If all you need are some show hide buttons and a CSS animation, do the whole thing in four or five lines of vanilla JS in an inline script tag. You're right that React is the wrong tool for the job, but so is Svelte and so is everything else discussed in this thread.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: