Do you know the difference between useCallback and useMemo?
- useMemo returns the cached result
- useCallback returns the cached function
There you go
- useMemo returns the cached result
- useCallback returns the cached function
There you go
Comments