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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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.