Question · Vue.js course · Module 8: Slots & Dynamic Components

defineAsyncComponent

What is defineAsyncComponent used for in Vue?

Answer options

  • For creating components with async/await
  • For lazy loading components - loading them only when they are needed
  • For handling asynchronous events
  • For defining async watchers

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