2min chapter

Frontend First cover image

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

Frontend First

CHAPTER

Is It Really That Bad to Have Effects?

Is it really that bad to have effects? Or is it just better to keep your components always right? I think it is because there are times you rely on that behavior. Even effects having a cleanup function. That's our mental model. Like when I go away, this whole thing is cleaned up. Clean up functions will run. But you should be able to use mounting as an idea. You know, think how many components on routes that we have that do that. And then when you leave away from them, you shouldn't have to add code that's like, I'm not on this route anymore. It amounts.

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