@shopify/react-hydrate
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -10,4 +10,10 @@ # Changelog | ||
## [1.1.0] - 2019-07-03 | ||
### Added | ||
- Added the `HydrationTracker` component and `useHydrationManager` to support behavior that depends on whether hydration has already occurred ([#762](https://github.com/Shopify/quilt/pull/762)) | ||
### Added | ||
- `@shopify/react-hydrate` package |
export { HydrationContext } from './context'; | ||
export { HydrationManager } from './manager'; | ||
export { useHydrationManager } from './hooks'; | ||
export { Hydrator } from './Hydrator'; | ||
export { HydrationTracker } from './HydrationTracker'; |
@@ -7,3 +7,7 @@ "use strict"; | ||
exports.HydrationManager = manager_1.HydrationManager; | ||
var hooks_1 = require("./hooks"); | ||
exports.useHydrationManager = hooks_1.useHydrationManager; | ||
var Hydrator_1 = require("./Hydrator"); | ||
exports.Hydrator = Hydrator_1.Hydrator; | ||
var HydrationTracker_1 = require("./HydrationTracker"); | ||
exports.HydrationTracker = HydrationTracker_1.HydrationTracker; |
export declare class HydrationManager { | ||
hydrated: boolean; | ||
private readonly ids; | ||
@@ -3,0 +4,0 @@ private readonly hydration; |
@@ -10,2 +10,3 @@ "use strict"; | ||
var e_1, _a; | ||
this.hydrated = false; | ||
this.ids = new Map(); | ||
@@ -12,0 +13,0 @@ this.hydration = new Map(); |
{ | ||
"name": "@shopify/react-hydrate", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Utilities for hydrating server-rendered React apps", |
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
12004
17
124