diff --git a/packages/query-core/src/mutationCache.ts b/packages/query-core/src/mutationCache.ts index 1663b50cef..517a5d13f6 100644 --- a/packages/query-core/src/mutationCache.ts +++ b/packages/query-core/src/mutationCache.ts @@ -88,7 +88,7 @@ export class MutationCache extends Subscribable { constructor(public config: MutationCacheConfig = {}) { super() this.#mutations = new Map() - this.#mutationId = Date.now() + this.#mutationId = Math.round(performance.timeOrigin + performance.now()) } build(