For several years now, I've been using CommonJS modules in Node.js and in my browser code with Browserify. But ES6 now provides a module export and loading mechanism of it's own. So, are CommonJS modules really necessary anymore?
In this episode, you'll see the new module export and import syntax for ES6, using Babel.js. Together, we'll explore how this syntax works, how to get it right with Babel.js, and what some of the differences are between CommonJS “require” calls, and ES6 exports and imports.