Mastering AnimatePresence Review Motion code for AnimatePresence and exit animation best practices. How It Works 1. Read the specified files (or prompt user for files/pattern) 2. Check against all rules below 3. Output findings in format Rule Categories | Priority | Category | Prefix | |----------|----------|--------| | 1 | Exit Animations | | | 2 | Presence Hooks | | | 3 | Mode Selection | | | 4 | Nested Exits | | Rules Exit Animation Rules Conditional motion elements must be wrapped in AnimatePresence. Fail: Pass: Elements inside AnimatePresence should have exit prop defined. Fail: Pass: Dy…