DEV Community

Discussion on: How to write more performant functional React Components

Collapse
 
maxgrafx profile image
maxgrafx

i would think not using useCallback creates overhead, without it every render the function is recreated

Collapse
 
exclipy profile image
exclipy

Also with it, the function is created on every render. See kentcdodds.com/blog/usememo-and-us...