3 ms·separate useState's for each piece of a global state, preserving it in a flat shape, no nested objects.by fatih-erikli 4y agoseparate useState's for each piece of a global state, preserving it in a flat shape, no nested objects.