Animations/Transitions with React - how do you handle these?

Never done it, apart from some basic CSS transitions, wanted to mess with it a bit whilst I'm learning backend. I know Svelte has a pretty easy way to do it, but how does React handle animations?
2 Replies
Joao
Joao•10mo ago
One of the main, but subtle, differences between React and other similar technologies is that React is just a library. That means that for anything other than the core UI reactivity, it relies on external packages and libraries, including animations. But there are some pretty good ones, personally I've only used Framer Motion but it works great: https://www.npmjs.com/package/framer-motion
CDL
CDLOP•10mo ago
That makes sense why I couldn't find anything in their documentation 😅 I've heard of Framer Motion so i'll look into it, thanks!
Want results from more Discord servers?
Add your server