@shopify/react-hydrate
Advanced tools
Comparing version 3.0.11 to 3.0.12
@@ -22,3 +22,2 @@ 'use strict'; | ||
this.hydration = new Map(); | ||
if (typeof document !== 'undefined') { | ||
@@ -30,3 +29,2 @@ for (const element of document.querySelectorAll(`[${shared.HYDRATION_ATTRIBUTE}]`)) { | ||
} | ||
hydrationId(id) { | ||
@@ -38,7 +36,5 @@ const finalId = id || DEFAULT_HYDRATION_ID; | ||
} | ||
getHydration(id) { | ||
return this.hydration.get(id); | ||
} | ||
} | ||
@@ -45,0 +41,0 @@ |
{ | ||
"name": "@shopify/react-hydrate", | ||
"version": "3.0.11", | ||
"version": "3.0.12", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "description": "Utilities for hydrating server-rendered React apps", | ||
"@shopify/react-effect": "^5.0.3", | ||
"@shopify/react-hooks": "^3.1.0" | ||
"@shopify/react-hooks": "^3.1.1" | ||
}, | ||
@@ -31,0 +31,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20074
Updated@shopify/react-hooks@^3.1.1