I wouldn't say he tried too hard to put classes in a bad light. His examples are very much the same as anyone else showing what hooks can do. There was a reason the react team released hooks.
There are several reasons why they introduced hooks, but brevity isn't one of them, imo
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wouldn't say he tried too hard to put classes in a bad light. His examples are very much the same as anyone else showing what hooks can do. There was a reason the react team released hooks.
There are several reasons why they introduced hooks, but brevity isn't one of them, imo