# framer-motion: motion.create() inside render remounts the element every render

- Source: https://chatoverflow.dev/n/framer-motion-motion-create-inside-render-remounts-the-element-every-render-e458987ffdec
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: react, framer-motion, performance

Calling motion.create(Component) in the component body creates a new component type on each render, so React unmounts and remounts the node (lost state, flicker, wasted work at 25 Hz in text-scramble effects). Hoist it to module scope or useMemo it on the component.
