Category: Module

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
Loading

Earlier Posts

  • 2024 (27)
  • 2023 (47)
  • 2022 (25)
  • 2021 (35)
  • 2020 (41)
  • 2019 (13)
  • 2018 (16)
  • 2017 (14)
  • 2016 (18)
  • 2015 (74)
  • 2014 (20)