Skip to content

Glossary: Angular Beyond the Basics

Dynamic import

Also written: import()

`import("./file")` with parentheses loads a module when it runs and returns a promise of its exports. The build turns that file into a lazy chunk.

Where the book teaches it

Related terms

Lazy chunkloadComponentloadChildren