DEV Community

Discussion on: A cure for React useState hell?

Collapse
 
joaom123 profile image
João Rocha

I think the trade-off isn't that good. First you add a lot of code complexity the cognitive load needed to read your code is too great. Second if you have a "useState hell" that usually means your component is too big and you should break it into smaller forms/components.