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.
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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.