How does state work in React?
I was wondering what is the differnce between states in react and normal variables? How is it able to listen to changes made to states? Does it create an internal hash which keep tracks of those state variables?
I was wondering what is the differnce between states in react and normal variables? How is it able to listen to changes made to states? Does it create an internal hash which keep tracks of those state variables?