Month: May 2021

Understand Dynamic Importing in JavaScript

 While working with JavaScript projects, as your project will grow, it will become very much a necessity to distribute your code into multiple files i.e. do some logical grouping by functionalities. When we are doing that, we are basically creating “modules”. A module is basically a JavaScript file that can contain classes, variables, or functions that are logically related.In this series of two blog posts, I will be focusing on basic concepts of import/export from/in a module, some considerations, and dynamic importing.In the first post, I have explained how the module works in JavaScript. If you have not read...

Read More

Understand Modules in JavaScript

 While working with JavaScript projects, as your project will grow, it will become very much a necessity to distribute your code into multiple files i.e. do some logical grouping by functionalities. When we are doing that, we are basically creating “modules”. A module is basically a JavaScript file that can contain classes, variables, or functions that are logically related.In this series of two blog posts, I will be focusing on basic concepts of import/export from/in a module, some considerations, and dynamic importing.Note – I am sharing all my JavaScript Developer Certification study notes here. Please provide your feedback if...

Read More

Archives