• useMemo will only recompute the memoized value when one of the deps has changed.

    Type Parameters

    • T

    Parameters

    Returns T