I just want to point out, use the preferred layout prop. The Framer guys are focusing heavily on it and it's likely that the animate prop will be just for controlled animations using the hook useAnimation.
It's almost the same mentality, but you change the style directly and let framer-motion solve the animation for you.
Nevertheless, good article, one of the only reasons I stay in React is framer-motion and jotai.
I just want to point out, use the preferred
layout
prop. The Framer guys are focusing heavily on it and it's likely that theanimate
prop will be just for controlled animations using the hookuseAnimation
.It's almost the same mentality, but you change the style directly and let framer-motion solve the animation for you.
Nevertheless, good article, one of the only reasons I stay in React is framer-motion and jotai.
Thank you for noticing!! Really good and important to know this