webbuild infotech

webbuild

react-state

What is State in React Js

React components has a built-in state object. The state object is where you store property values that belong to the component. When the state object changes, the component re-renders. A state is a JavaScript object that stores a component’s dynamic data and determines the component’s behavior. Because the state is dynamic, it enables a component to keep track of changing information …

What is State in React Js Read More »