Jun 19, 2024
As much code as I've debugged where the solution was to use useMemo and useCallback, I completely disagree. If you can't read useMemo or useCallback, you have no business using React. However, if you're going to use an anonymous function to call a useCallback function, yes, you might as well not bother.