DEV Community

Discussion on: Why custom react hooks could destroy your app performance

Collapse
 
adevnadia profile image
Nadia Makarevich

I agree in general, creating components is usually quite bad :) But in the article most of the performance problems come not from it, but using hooks in not the most optimal way

Collapse
 
wintercounter profile image
wintercounter

Yes, that's just a sidenote :) However, having state management inside the component and exposing the API through ref resolves the performance concerns.