Skip to content

Glossary: React Beyond the Basics

dependencies

Also written: dependency array

The array of values passed to useMemo or useCallback (like an effect's array). The result is recalculated only when one of them changes, so leaving one out gives an old result.

Where the book teaches it

Related terms

useMemouseCallback