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.
Glossary: Angular Beyond the Basics
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.