DEV Community

Discussion on: What's hard about React Hooks for you?

Collapse
 
mailslurp profile image
MailSlurp

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.