Posts for State in React

Deven
Deven wrote

State in React – explained

In React State of a component is an object that holds some information that may change over the lifetime of the component. We should always try to make our state in React as simple as possible and minimize the number of stateful components. Let’s create an user component with message state, State is similar to props, […]

December 30, 2020 in React & Snippets