DEV Community

Discussion on: Why I let React go!

Collapse
 
joshuaamaju profile image
Joshua Amaju

I totally agree on the last point. I always feel messy each time I have to update nested state objects.

On your second point, you can avoid binding by making the handler a class field - using arrow function.

Collapse
 
adnanbabakan profile image
Adnan Babakan (he/him)

Yes, it is possible to use the arrow functions to avoid it. Thanks I will add to the post.