vadimdemedes / draqula

🧛 GraphQL client for minimalistic React apps
https://draqulajs.com
771 stars 15 forks source link

Add option to `useMutation` to prevent any refetching of other queries #18

Closed vadimdemedes closed 4 years ago

vadimdemedes commented 4 years ago

Useful for updating something on the server "one-way", because that mutation doesn't affect anything on the UI. For example, updating user flags or settings doesn't need to refetch anything, because we care only about saving the state.