You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am using Framer Motion to animate the rounting in my app. But when my page gets unmounted, but Framer Motion still keeps it for exit animation, all my translated text dissappears and changes to variable names. It helps to wrap my variables in a useMemo hook with a lang as dependency, but it is quite messy to wrap every translated variable like that. Can we do something about it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I am using Framer Motion to animate the rounting in my app. But when my page gets unmounted, but Framer Motion still keeps it for exit animation, all my translated text dissappears and changes to variable names. It helps to wrap my variables in a
useMemo
hook with alang
as dependency, but it is quite messy to wrap every translated variable like that. Can we do something about it?Beta Was this translation helpful? Give feedback.
All reactions