DEV Community

loading...

Discussion on: When to use useCallback - ReactJS?

Collapse
raymathewdeveloper profile image
Ray Mathew

Is there any benefit to using useCallback without React.memo?

Collapse
boywithsilverwings profile image
Agney Menon Author

If the function you are passing down is going to be used as a useEffect (or some kind off) dependency in the Child, then yes.