While reviewing Vue component lifecycle, a global listener survives route changes. Which action fixes it, and which check proves it worked?
Answer options
- A. Register lifecycle cleanup inside it
- B. Remove it in onUnmounted
- C. Verify no listener remains
- D. Measure in onUpdated or nextTick