re: JavaScript Modules: From IIFEs to CommonJS to ES6 Modules VIEW POST

FULL DISCUSSION
 

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. 👍

code of conduct - report abuse