2min chapter

JavaScript Archives - Software Engineering Daily cover image

React Best Practices with Kent Dodds (Repeat)

JavaScript Archives - Software Engineering Daily

CHAPTER

Is There a Spidering Effect?

If you add a custom prop checker to determine whether it should up date, then you do add quite a bit of complexity. You also have to check every word that's using that component and insure that the props that is passing are going to be consistent between renders. That has this aspidering effect, where maybe that component got props from somewhere else. And so you have to keep on going and memorize all these on these values just because you wanted to make sure that this one component didn't re render unnecessarily. So anyway, that's a long way to answer your question. But this is something i see a lot is people just instantly reach for, how do i reduce the

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