← React Intermediate Questions - Set 9 Q83

How do you handle state in class components?

React Intermediate Questions - Set 9

Example

this.setState({ count: this.state.count + 1 });

What to notice

← Back to the question list