@apollo/client
Advanced tools
Comparing version 3.10.5 to 3.10.6
@@ -436,3 +436,3 @@ 'use strict'; | ||
var version = "3.10.5"; | ||
var version = "3.10.6"; | ||
@@ -439,0 +439,0 @@ function maybe(thunk) { |
{ | ||
"name": "@apollo/client", | ||
"version": "3.10.5", | ||
"version": "3.10.6", | ||
"description": "A fully-featured caching GraphQL client.", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -98,2 +98,4 @@ 'use strict'; | ||
var useIsomorphicLayoutEffect = utilities.canUseDOM ? React__namespace.useLayoutEffect : React__namespace.useEffect; | ||
var Ctx; | ||
@@ -523,3 +525,3 @@ function noop() { } | ||
}); | ||
React__namespace.useLayoutEffect(function () { | ||
useIsomorphicLayoutEffect(function () { | ||
Object.assign(ref.current, { client: client, options: options, mutation: mutation }); | ||
@@ -526,0 +528,0 @@ }); |
@@ -8,2 +8,3 @@ import { __assign } from "tslib"; | ||
import { useApolloClient } from "./useApolloClient.js"; | ||
import { useIsomorphicLayoutEffect } from "./internal/useIsomorphicLayoutEffect.js"; | ||
/** | ||
@@ -72,3 +73,3 @@ * | ||
}); | ||
React.useLayoutEffect(function () { | ||
useIsomorphicLayoutEffect(function () { | ||
Object.assign(ref.current, { client: client, options: options, mutation: mutation }); | ||
@@ -75,0 +76,0 @@ }); |
@@ -11,3 +11,3 @@ 'use strict'; | ||
var version = "3.10.5"; | ||
var version = "3.10.6"; | ||
@@ -14,0 +14,0 @@ function maybe(thunk) { |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var version = "3.10.5"; | ||
var version = "3.10.6"; | ||
@@ -10,0 +10,0 @@ function maybe(thunk) { |
@@ -1,2 +0,2 @@ | ||
export var version = "3.10.5"; | ||
export var version = "3.10.6"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6906097
60126