3min chapter

Frontend First cover image

Should you use merge commits or rebase when working on large codebases?

Frontend First

CHAPTER

Is Frame of Motion a Better React Plugin?

frame of motion has this component animate presence. And it kind of tracks when elements are coming in or out, you can give them an exit animation. So they like fade out something like that. They move off the screen. The component that you're animating out actually gets removed from your React tree. It doesn't just snapshot its HTML and keeps it around. Actually, I think it clones a component. Because if you have a hook in the component, that hook will rerun while your component's animating out. But as soon as you unrender it, React takes it out of the DOM, and there's no chance to animate it away. Right, right? That was my

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