DEV Community

Christopher Santiago
Christopher Santiago

Posted on

Too Early for Hooks?

Question for React developers:

Are hooks well implemented at the enterprise level? Or is the class-based components still predominantly used for state management?

Top comments (2)

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí

I haven’t used class based components again since the release of Hooks. And the react team said they use it at Facebook too so it’s probably a good options for enterprise,

I would personally say since it force to handle things that could cause bugs and are usually ignored in classes it’s a better option.

Collapse
 
crsantiago profile image
Christopher Santiago

Thank you for the response. The reason for me asking was I was curious if I should be working on getting a better understanding of Hooks. But didn't want to overcommit if it isn't well-practiced in the work environment.