GLOSSARY · A WORD, UNPACKED
memoization
caching a result so the same inputs can skip repeating the work.
A little more detail
useMemo caches a calculated value and useCallback caches a function, both until their dependencies change. That can help a memoized child or an effect dependency. It also adds dependencies you must keep honest. Most components do not need it until a measurement shows a real cost.
See it in practice
These lessons pair the idea with examples you can change and run.