DEV Community

Discussion on: Animating Next.js page transitions with Framer Motion

Collapse
 
jrrio profile image
João Rodrigues • Edited

Congratulations for your work and for sharing all this with the community. However, I've discovered the hard way that AnimatePresence makes the app messy in production (npm run build && npm run start) if the pages / components utilise CSS Modules. I think your site is performing okay because you're using Tailwind CSS.
Bug: github.com/framer/motion/issues/948