Mike Mwanjemikemwanje.hashnode.dev·Aug 28, 2021How different is CommonJs require from ES6 import?In JavaScript, you can use either ECMAScript 6(ES6) modules or CommonJs modules in your project and there are a few differences between these that do affect how your program modules are loaded. In this article, I explore how each works and how it may...196 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.