Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/react-hydrate

Package Overview
Dependencies
Maintainers
13
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-hydrate - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/hooks.d.ts

6

CHANGELOG.md

@@ -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

2

dist/index.d.ts
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();

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc