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

What is a slot?

What is a slot in Vue.js?

Answer options

  • A special component for rendering lists
  • A mechanism that allows a parent to inject content into a child component
  • A directive for conditional rendering
  • A component lifecycle hook

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