When configuring the Angular Router for lazy loading, the loadChildren property points to a function that uses the ______ syntax to load the module.

  • Import()
  • fetch()
  • load()
  • require()
In Angular, when configuring lazy loading for the Angular Router, the loadChildren property points to a function that uses the import() syntax to load the module on-demand. This allows for efficient code splitting and loading modules only when they are needed, improving application performance.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *