React | Working of React | Question 4

Last Updated :
Discuss
Comments

What happens when you call this.setState() in React?

The component is immediately re-rendered

React schedules an update to the component’s state

It only updates the virtual DOM

It reloads the whole application

Share your thoughts in the comments