useCallback

When should you use the useCallback hook?