Skip to content
Discussion options

You must be logged in to vote

Hi 👋

I prefer the following:

use(obviously)Operation(if applicable/necessary)Entity(Device, for example)Type(Query/Mutation)

So, for example:

useDeviceQuery
useDeleteDeviceMutation

Having said that, there's no right or wrong. Use whatever you and your team prefer 🙂

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by louis-young
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants