DEV Community

Discussion on: Optimize React Hooks Performance

Collapse
 
alabobriggs profile image
Alabo David Briggs

After memoising the Counter component with useCallback and useMemo is there still a need to use React.memo?

Collapse
 
rahmanfadhil profile image
Rahman Fadhil

Yes, if you want to pass data to the child component via props.