When do (and don’t) children re-render in React?
Photo by Ferenc Almasi on Unsplash
When writing React components, we always strive to keep optimization in mind. It’s always useful to know when unnecessary re-rendering occurs in our code, especially if we have heavy components in our app.
So let’s ...
vardan.hashnode.dev3 min read