To the contrary, this is why PureComponent exists for class components as well as React.memo for functional components. It absolutely can be a performance issue, depending on the component itself — how often it re-renders, how expensive a re-render is, and whether or not the reference prop is the sole reason for the re-render.

The new Hooks API introduced a second parameter to useCallback specifically so that the Hooks API does not break the performance benefits of blocking re-rendering for pure components.

Senior front end engineer / charlesstover.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store