AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Make Your App Work Without Animations
The best way to do animations is to make your code work first without animation. The library we teach does a particularly good job at this because It has declarative APIs that work very well with reacts already declarative Kind of structure and so you have an image carousel you flip next and it shows you the next one There's no animations just showing you the next index. How do you do that a reactive? Albert would know to model that as like an index state That you call set on when you increment it or decrement it right? Maybe it's the active index and like an array of pictures So you do all that you make it work now you can layer in the animation which