React Reconciliation algorithm & useState hook.
useState is a react hook which allows you to add a state variable to a react component.
The syntax of useState hook looks like this: const [variable, setVariable] = useState();
But what is a state?
Components in React can change the UI on the screen ...
adityas.hashnode.dev5 min read