What is State?

Easy0-2 Years

What is State?

State stores dynamic data inside a component.

Updating state causes React to re-render the component.