4 ms·
Where can we learn about this “modern JS“? I feel like in some ways I’m learning the old ways, similar to old c++.
by ed25519FUUU 6y ago
Where can we learn about this “modern JS“? I feel like in some ways I’m learning the old ways, similar to old c++.
- bartread 6y agoThe parent isn't talking about JS: they're talking about the DOM APIs. The best resource I've found for learning about these is MDN: https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model https://developer.mozilla.org/en-US/docs/Web/API/Document_Ob.... I've found this to be an incredibly helpful reference when I need to do something without using a library.
- zamadatix 6y agoFollowing the tc39 proposals on GitHub is a great way to keep up with features just being added. "What's new in ES2020" type blog posts should catch you up between then and the bleeding edge. MDN for actually getting the technical details on things as you try to implement the features you read about (will also xover browser specific APIs). caniuse to see if they are actually ready to be used.
- monoideism 6y agoIt's both modern Web APIs as well as ES6 JavaScript, both of which make working in VanillaJS quite pleasant. If you don't need to support older browsers, you don't even need to use any packaging software (although if you're building a serious app, it's still wise to do so). You can import ES6 modules in vanilla JS, and a modern browser will do the loading for you. Great for quick starts.