Hacker News new | ask | show | jobs
by motogpjimbo 1988 days ago
Do you use React? In my experience, people arguing against jQuery are usually simultaneously arguing for React as a replacement for it, and are therefore arguing for replacing a ~30kb library with multi-megabyte bundles of catastrophically broken SPA code.
2 comments

Why do you think you can only write multi-megabyte apps with react? And why do you think those two are the only options? You can write decently sized react code that's 300-500 kb bundled and if you're not ok with that you can start dynamically loading dependecies. Companies just choose to not spend any time optimizing it.
I do not, but Angular is worse. Last I looked it’s a 300mb download after installing the npm dependencies.