Question · Angular course · Module 12: Security and Performance

@defer

What does @defer (on viewport) do in Angular 17+?

Answer options

  • It loads the component immediately
  • It loads the component when it enters the visible area of the screen
  • It delays loading by a fixed amount of time
  • It loads the component on click

You can check the correct answer by solving this task in the CodeWorlds game.