What's the recommended way of doing animations in ...
# compose-web
c
What's the recommended way of doing animations in Compose Web?
b
Good old css keyframes for dom api
c
That just means I have to write my own API for JS animations, right? 😇
b
No, that just means regular css keyframes
And then applying the class to components you want to animate
c
I don't have a need for anything more complicated than simple fades, and honestly I'm amazed how easy it is to improvise things like this with Coroutines + Compose
j
The transition API makes fades a one liner
And it won't run if the content is currently visible
c
I see, I'll take a look, thanks 🙂