When using framer-motion with React 18, I faced several issues: • A component inside AnimatePresence does not unmount from the DOM after the exit animation fini...