I don't get the so we don’t need to revalidate again part from the documentation.
The second mutate does trigger a revalidation since we don't pass false.
From the documentation:
But many POST APIs will just return the updated data directly, so we don’t need to revalidate again.
Here’s an example showing the “local mutate - request - update” usage:
mutate('/api/user', newUser, false) // use `false` to mutate without revalidation
mutate('/api/user', updateUser(newUser)) // `updateUser` is a Promise of the request,
// which returns the updated document
I