Why my state is updating, but it turns out to the old one again? – Reactjs
I am uplifting a state between two components, and it is working. But when i go into the function that changes my state in the component that catches the data it updates but at the same time goes back to…