JavaScript Modules the ES6 Way
3 Comments
Comments are ordered by helpfulness, as indicated by you. Help us pick out the gems and discourage asshattery by voting on notable comments.
Got something to add? You can leave a comment below.
David Fregoli
Theo
Another great article full of straightforward tips (and resources i will have to dive in to).
It may be a coincidence and i know 24Ways is cutting-edge, but the article i’ve read before [http://www.breck-mckye.com/blog/2014/12/the-state-of-javascript-in-2015/ The State of JavaScript in 2015] makes me strongly hope and say: Long-Last ES6 :)
Thank you
Daniel Furze
Great article, thanks very much. Going to give this a go on a project over the weekend. Thanks!
So when you do import x from ‘file’, the script stops and synchronously loads file.js?