News for hackers. Stuff that matters.
Re:Things you forgot because of React by pacomerh on Tuesday August 15, 2023 @01:09PM (#37136485)
In this specific case above they work the same, useCallback memoizes the instance of a function passed. useMemo memoizes the execution of the function it is passed. but both have valid separate uses.

There are no comments on this comment yet.