DEV Community

Discussion on: React Custom Hooks: What, Why and How

Collapse
 
fesquivelv profile image
Fredy Esquivel

Hi, I was wondering that I can do the same with a helper or a service, so what would be the difference between a hook and a service or helper?

Collapse
 
chase2981 profile image
Chase Gibbons • Edited

I agree with you my friend.

See bit.ly/custom-react-hooks-readability for more details from the community on this subject, it's still a young post but it will generate some fierce debate over time I'm sure.

Bottom line is React doesn't have an official style guide for the exact reason to encourage fierce debate among the community, so just do whatever works best for you and your company I'd say...