In the ground since Fri Oct 01 2021
Last watered inFri Oct 01 2021
for client Component
We can see lagged animations during development time specially, when using Framer Motion with Next JS. This is because Next JS is server-side rendered and Framer Motion is a client-side library. To fix this we can use the useEffect hook to render the animations only on the client-side.