DEV Community

Discussion on: Colocated Fragments: Organizing your GraphQL queries in React

Collapse
etylsarin profile image
Filip Mares

Hi Ricardo, this post is great and I really like the concept. I have one question though. What do you do about mutations? Do you call useMutation directly in a component, or do you also use the fragments somehow and call the mutation from the top level container?