An alternative to `useCallback` that don't require a `dependencies list` to stay up-to-date.
Same as Map, but accepts an array of keys.