DEV Community

Discussion on: React Is Eating Itself

Collapse
 
michi profile image
Michael Z

I don't think that last example makes it more readable. Not everything needs to be destructured. prevState is very explicit and that's a good thing imo