|
|
|
|
|
by blurker
444 days ago
|
|
I disagree. With classes, everything was stateful (because, y'know, classes). People were doing all sorts of crazy thing with the lifecycle methods and it was always a pain to have to remember the "this scope" and bind your event handlers. I saw so many bugs written by people who lost track of what "this" was. Both paradigms have foot guns but having used both I much prefer the hook version. |
|