All practice tasks

Knowledge Check

Composable cleanup evidence

While reviewing Vue component lifecycle, a composable starts a repeating timer. Which action fixes it, and which check proves it worked?

Answer options

  • A. Verify timer stops on unmount
  • B. Initialize it in onMounted
  • C. Remove it in onUnmounted
  • D. Register lifecycle cleanup inside it

What this task practices

Composable cleanup evidence is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Vue Component Lifecycle, Composable Cleanup. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.