News for hackers. Stuff that matters.
Re:I love React Hooks by sophiebits on Wednesday February 20, 2019 @12:43AM (#19205854)
useCallback is designed for this. useMemo also helps solve the problem from another angle that previously wasn’t as accessible.

Additional reading: https://reactjs.org/docs/hooks-faq.html#are-hooks-slow-becau....

There are no comments on this comment yet.