DEV Community

Discussion on: Don't Surrender to Extraneous React Re-Renders

Collapse
 
eddy profile image
Eddy Luten

Interesting post, thank you. I didn't know about why-did-you-render and will definitely add it to my toolkit. So often do I see a rerender and have no idea what's causing it and seemingly no good ways to trace it down. This is especially egregious when you have a heavy data-driven component with many children.

Collapse
 
supremebeing7 profile image
Mark J. Lehman

heavy data-driven component with many children

Definitely. And even when you know why some of your components are needlessly re-rendering, when working in a component like that it can still be difficult fixing those re-renders.