es6
Posts
Links
Why I've stopped exporting defaults from my JavaScript modules - Human Who Codes
I tweeted this after realizing that a lot of problems I had with JavaScript modules could be traced back to fights with default exports. It didn’t matter if I was using JavaScript modules (or ECMAScript modules, as many prefer to call them) or CommonJS, I was still stumbling over importing from modules with default exports. I got a variety of responses to the tweet, many of which questioned how I could come to this decision. This post is my attempt to clarify my thinking.
17-01-2019Using ES6 modules for progressive enhancement | Blog | Decade City
Recently I was looking at native support for ES6 modules in the browser and it struck me that it was ideally set up for a progressive enhancement approach.
29-10-2019
