I mean, technically you're still "setting state", but it won't be called setState when using hooks. You're typically meant to call useState multiple times per each individual piece of state you track, rather than attempting to modify one big state object.
For example, a component that keeps track of an internal count and whether or not to show/hide a popup would use the state hook like:
16
u/[deleted] Mar 19 '19
this&&setState? What is this, 2018? š