I think when we use function component, we use the hook useState() and when we are using class component we use this.state.
I've never used class component or this.state.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think when we use function component, we use the hook useState() and when we are using class component we use this.state.
I've never used class component or this.state.