Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який правильний спосіб оновити стан на основі попереднього значення?
setState(prevState => prevState + 1)
setState(state + 1)
state.value = state.value + 1; setState(state)
setState(this.state.value + 1)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!