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...
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.
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?
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...