Image for post
Image for post

Before 2015 there wasn’t a native way to work with modules into JavaScript. Developers started to find different ways to implement it: for example splitting the codebase into separated files and scopes, using AMD with file loaders like RequireJS or just making CommonJS work in the browser through Browserify or other libraries.

In June 2015 the spec for the 6th edition of JavaScript changed things a lot. Finally a native way of working with modules. …

About

Francesco Zaccaria

Performance-obsessed developer. Currently hacking JavaScript at @sleighdogs.