DEV Community 👩‍💻👨‍💻

Discussion on: JavaScript Modules: From IIFEs to CommonJS to ES6 Modules

dance2die profile image
Sung M. Kim

This is the article I wish I had read when I first started diving into the world of JavaScript.

All those require in code snippets really drove me crazy. Most of response I got was, it's for Node. Node what? and started diving into it, etc... It was like going down a rabbit hole.

But this article explains "why" it was created, and how it has evolved in very digestible format. 👍