Concept Flow - Unmounting phase
Component Mounted
User triggers unmount
React calls cleanup functions
Component DOM removed
Component fully unmounted
This flow shows how React removes a component: it first calls cleanup code, then removes the component from the page.