2min chapter

Frontend First cover image

The problem with buttons on the web

Frontend First

CHAPTER

Using a State Based API to Trigger an Animation

When we animate things in frame or motion, nine, nine % we're doing state base animations. We're not triggern animation. It was weird for us to get that to work with the declarative a pis. And so now you can have react, state is checked, do this. That's state based. That's a transition, basically. Ah, but here you you can kind of contort thedeclarative state based api to get something to run regardless of the state. So we did this on our check box, where, like, you tap it, and you want to actually trigger the grow,. But you want to trigger something to happen in the new

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