How to Avoid Overusing useCallback and useMemo in React
If you've spent enough time in the React ecosystem, you'll have likely seen codebases where nearly every function is wrapped with useCallback and the computed value is wrapped with useMemo.
The reason
freecodecamp.org26 min read