DEV Community

Discussion on: React re-renders guide: why React components re-render

Collapse
 
fjones profile image
FJones

Minor nitpick: The mere existence of useState is not a state change. It's the setState call that actually changes the state. It's perfectly possible (though rather silly) to write stateful components without state changes.

Collapse
 
adevnadia profile image
Nadia Makarevich

Good point :)