Stop using too many useState() in React
Here’s an alternative way to avoid useState hook hell in React
Published in
3 min readJan 16, 2023
Have you ever been in a situation where you get to use too many useState
hooks in a single component? Well here’s an example of what I’m talking about: