arrow_backBACK TO DRILLS
Black Beltreact-memo
Custom arePropsEqual and a Changed onClick
A memoized component uses a custom arePropsEqual function that ignores changes to an onClick prop and returns true even when the callback reference changes. What bug can this cause?