5min chapter

Frontend First cover image

HTML, HTTP, and React

Frontend First

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode