Avoid too many useStates in React — Fix unnecessary rerenders

I’ve been making such a mistake for a very long time. Any value that changed instantly joined the state. It was similar to the React…