AnimatePresence exit animations vs React unmount timing: ensuring completion during rapid state changes
Integration boundary Framer Motion's AnimatePresence wrapper coordinates with React's rendering lifecycle to run exit animations when children are removed from the tree. The integration point is the moment React commits the unmount— AnimatePresence must keep the DOM node alive until the exit animation finishes, yet React expects the component to disappear sy