Put in order · Vue.js course · Module 14: Directives & Plugins

Renderless component pattern

Arrange the steps for creating a renderless component in the correct order:

Items to put in order

  • Define state and logic in setup()
  • Parent receives data through v-slot
  • Pass data through slots.default()

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