Hacker News new | ask | show | jobs
by jastanton 2905 days ago
Couple of nits & questions:

1) I'm surprised CSS preprocessors made it as a must, and CSS in JS as only recommended. I figured that would be switched, isn't the current golden path CSS in JS?

2) Is webpack a must these days? Can we not just throw everything in typescript? Maybe that's only personal preferences!

3) No one ever needs to know jQuery anymore ;)

Glad to see lodash made it though

3 comments

Babel and TypeScript compete. WebPack is orthogonal.

WebPack can take your PNG image and inline it into base64-data if it's small enough, or return a hashed filename from your import to be cache friendly but without the caching bugs.

Don't throw away jQuery just yet.
Especially with the way Safari is being developed, I'm guessing we're going to go back to needing a jQuery library to handle all the browser inconsistencies.
jQuery does a whole lot more than just handle browser inconsistencies. I feel like a shim to the standard DOM API would be better suited for solving that problem. The DOM API has grown a lot.
webpack can handle a ton of things that you can't simply do with tsc