How to not regret useState
useState is great for simple features. But when a feature needs to become more complex, most developers will push the code towards spaghetti instead of refactoring to a declarative style of coding. Here's now to avoid that. 
Tags: react, stateadapt, rxjs