Amy Blankenship
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.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet