You wrapped a component in React.memo, and it still re-renders every time its parent does. Itβs one of the most common surprises in React, and it comes down to what JSX actually creates on every render.
π Continue reading on my blog: π How React memoization works
Top comments (0)