Dynamic Import

The import() expression, which loads a module asynchronously when requested.

What is Dynamic Import in JavaScript?

Dynamic Import — The import() expression, which loads a module asynchronously when requested.

const reports = await import("./reports.js");

Level: Freelancer · More JavaScript terms at this level

Updated