Skip to content

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Sep 2, 2025

Problem

Whenever we introduce a new mutation, we have to re-implement mutationMode handling. We don't always do it the same way.

Solution

Introduce useMutationWithMutationMode hook to make all our mutation hooks consistant.

How To Test

  • All current hooks should work as before
  • Unit tests

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why) => The default hooks stories are enough for now
  • The documentation is up to date => We don't want to invest more at this stage

Also, please make sure to read the contributing guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Development

Successfully merging this pull request may close these issues.

1 participant