4. State management: props , context , redux
State
State is a built-in object in React components that stores dynamic data.
State is mutable (can be changed using setState or useState).
Changing state re-renders the component.
Props
Props (short for “Properties”) are used to pass data ...
rajputayushreact.hashnode.dev3 min read