4 ms·
Just because others do bad things doesn't make it OK for you to do bad things. The biggest complain I read about is javascript downloads being so big nowadays
by sureaboutthis 8y ago
Just because others do bad things doesn't make it OK for you to do bad things.
The biggest complain I read about is javascript downloads being so big nowadays so piling on with jQuery--or anything else--just because frameworks and other libraries are so bloated doesn't make it OK.
- acdha 8y agoLook, I’ve replaced plenty of jQuery with vanilla JS. I’m totally on board for lighter, leaner pages. My point was simply that there’s this tedious cycle where people crap on the older tools and say everything is better across the board with the current hotness without actually measuring anything. There are a lot of cool capabilities we can use now but they’re only going to be better at the things you actually measure & attempt to improve. If you don’t profile your app, that cool new stack is probably going to be bigger and slower because tools like webpack make it easy to manage tons of code and you won’t notice until you test it on mobile, slow WiFi, etc.
- sureaboutthis 8y agoThe "cool new stack", in this case, is native, vanilla javascript that works everywhere without downloading anything and without a need to learn someone else's library.
- acdha 8y agoOr, if you actually read the thread you’re replying to, “modern frameworks” where none of that is true.