Concept Flow - useMutation hook
Component Renders
Call useMutation
Get mutate function + state
User triggers mutation
mutate function sends request
Server processes mutation
Response received
Update mutation state
Component re-renders with new state
The useMutation hook provides a function to send mutation requests and tracks their state, updating the component when the mutation completes.