DEV Community

Discussion on: The Definitive React Hooks Cheatsheet

Collapse
 
claudiobernasconi profile image
Claudio Bernasconi

It's a suggestion by the React team - a best practice to make the intent clear.

Collapse
 
antjanus profile image
Antonin J. (they/them)

Interesting. I guess I haven't tested it but it's straight from their docs:

A custom Hook is a JavaScript function whose name starts with ”use” and that may call other Hooks