React Hooks 2: useMemo, useCallback, useLayoutEffect, useImperativeHandle, useDebugValue & Custom Hooks

Carolina Cobo
3 min readAug 15, 2022

In this second part of the series, I covered the rest of Hooks just as an FYI as it might not be likely you’ll encounter this unless you’re building a library or you have a complex edge case.

source React

What you’ll come across more often are Custom Hooks, so if you are not too interested in the other…

--

--

Carolina Cobo

Frontend Software Engineer @ Genesys | Career switcher