Click in order · Vue.js course · Module 9: Composables & VueUse

Full Composable Lifecycle

Arrange the full lifecycle of a composable in an application:

Items to click

  • Export from the composables/ file
  • Define the composable with ref/computed/watch
  • Cleanup in onUnmounted
  • Use in the template
  • Import and call in setup

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