DEV Community

Meenal Aggarwal
Meenal Aggarwal

Posted on

React Memo custom fn return true, but still rerenders

Parent component is being rerender couple of time. In child component used memo with custom comparison to avoid rerendering. But even after return true through custom comparison child component still gets rendered.

Top comments (1)