Date: 2024-12-10 18:43:31
Score: 0.5
Natty:
The correct answer, a couple of years later, is to use the reset
function.
mutation.reset()
https://tanstack.com/query/v4/docs/framework/react/guides/mutations
Reasons:
- Probably link only (1):
- Low length (1):
- Has code block (-0.5):
- High reputation (-1):
Posted by: Thomas Hagström