Vardan Hakobyanvardan.hashnode.dev·Sep 18, 2024When 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 ...React
Preeti samuelkamilapreetisamuel.hashnode.dev·May 31, 2023How to use the useMemo and useCallback hooks in React to optimize performance by avoiding unnecessary re-rendersReact is a powerful web development framework that lets you build complex user interfaces with ease. However, when dealing with large amounts of data or complex calculations, you may find yourself needing to optimize the performance of your component...onclick