DEV Community

Discussion on: Don't over useState

Collapse
varuns924 profile image
Varun S

Oh I didn't know React rerenders the entire component for a state change. Thanks for the explanation!