top | item 32655211

(no title)

protonimitate | 3 years ago

Memoizing the callback prop only matters if you wrap the child component in "React.memo".

If you don't wrap the child component with "React.memo", every time the parent renders the child will render regardless of prop equality, even with memoized props/callbacks.

discuss

order

No comments yet.