Looking for a framework most well-suited for animations/transitions.
I use React and I don't like its support for animations. Code like
<div>{componentIsEnabled && <Component/>}</div>
makes it hard to animate the removal of <Component/>
, because when componentIsEnabled
becomes false
the <Component/>
doesn't exist anymore.
There are libraries which fix that but I didn't like any of the APIs. I just want a built-in (built into the core UI framework) and comfortable way of doing animations.
I want to build a UI for my game (no, the actual game won't be rendered in the DOM) which will include option menus, inventory menus etc.
Please share your experience if you have had the same frustration with React and found a better framework to do animations with.
P.S. Even if I liked React, I still want to learn a new, more trendy framework because it's a personal project for which I have a ton of time.5 Replies
I think Svelte had some cool animation stuff going
came here to say svelte
Yep it seems like it's even one of its core features but I'm still not sure. I'd love to hear from someone who has tried, say, Svelte, Vue, and maybe Solid to understand how one framework is better than others.
i've tried svelte transitions its pretty good
Thanks! I guess I finally have a reason to use Svelte lol