React

Introduction to React - The use of state in react

4.

What is the use of state in React?

State is not used in React.

It is used to manage global application data.

It is used to control the flow of the application.

It is used to manage component-specific data.