Jun 29, 2022
if button is memoized(using memo), then useCallback can stop it from rerender
if the button is memoized, and you drop the useCallback, then the button will rerender
nevertheless, you should neither use useCallback or memo, the optimization cost doesnt worth it