Socket
Socket
Sign inDemoInstall

@shopify/react-effect

Package Overview
Dependencies
Maintainers
13
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-effect - npm Package Compare versions

Comparing version 3.2.11 to 3.2.12

3

package.json
{
"name": "@shopify/react-effect",
"version": "3.2.11",
"version": "3.2.12",
"license": "MIT",

@@ -27,3 +27,2 @@ "description": "A component and set of utilities for performing effects within a universal React app",

"dependencies": {
"@shopify/useful-types": "^2.1.4",
"tslib": "^1.9.3"

@@ -30,0 +29,0 @@ },

@@ -87,6 +87,6 @@ # `@shopify/react-effect`

import {extract} from '@shopify/react-effect/server';
import {createApolloBridge} from '@shopify/react-effect-apollo';
import {HtmlContext, HtmlManager} from '@shopify/react-html/server';
async function app(ctx) {
const ApolloBridge = createApolloBridge();
const htmlManager = new HtmlManager();
const app = <App />;

@@ -96,3 +96,7 @@

decorate(element) {
return <ApolloBridge>{element}</ApolloBridge>;
return (
<HtmlContext.Provider value={htmlManager}>
{element}
</HtmlContext.Provider>
);
},

@@ -99,0 +103,0 @@ });

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