React | Working of React | Question 1

Last Updated :
Discuss
Comments

How does React update the UI when a state change occurs?

It reloads the whole page

It re-renders the components affected by the state change

It triggers a complete re-render of the application

It does not update the UI on state change

Share your thoughts in the comments