Put in order · Vue.js course · Module 8: Slots & Dynamic Components

KeepAlive syntax

Arrange the KeepAlive syntax with a dynamic component:

Items to put in order

  • :is="currentTab"
  • <KeepAlive>
  • <component
  • </KeepAlive>
  • />

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