The problem with hooks is the dependency array and object/primative comparison nuances in Javascript. I don't want to think that hard about how different type are compared to determine whether a function will fire or not. Very unproductive compared to class lifecycle methods. And for what? A few less lines of code and to scratch the functional itch? No thanks.
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.
The problem with hooks is the dependency array and object/primative comparison nuances in Javascript. I don't want to think that hard about how different type are compared to determine whether a function will fire or not. Very unproductive compared to class lifecycle methods. And for what? A few less lines of code and to scratch the functional itch? No thanks.