Concept Flow - Effective scope for cleanup
Component Setup
Create Reactive State
Register Effect or Watch
Effect Runs
Component Unmount
Cleanup Function Runs
Resources Freed
Component Removed or Updated
This flow shows how Vue sets up reactive effects and cleans them up automatically when the component unmounts.