@shopify/react-html
Advanced tools
Comparing version 9.2.5 to 9.2.6
{ | ||
"name": "@shopify/react-html", | ||
"version": "9.2.5", | ||
"version": "9.2.6", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "A component to render your react app with no static HTML.", | ||
"@shopify/react-effect": "^3.2.5", | ||
"@shopify/react-hydrate": "^1.1.6", | ||
"@shopify/react-hydrate": "^1.1.7", | ||
"@shopify/react-serialize": "^1.0.17", | ||
@@ -30,0 +30,0 @@ "@shopify/useful-types": "^2.0.2", |
@@ -279,4 +279,6 @@ # `@shopify/react-html` | ||
This function encapsulates the logic for showing the page in development, where it is hidden on the initial render by default. You must call this function from your client entry point, usually right after hydrating your React app. It returns a promise that resolves after the document is guaranteed to be visible. | ||
This function encapsulates the logic for showing the page in development, where it is hidden on the initial render by default. This avoids flashes of unstyled content that are an unavoidable side effect of embedding CSS in JavaScript. | ||
You must call this function from your client entry point, usually right after hydrating your React app. It returns a promise that resolves after the document is guaranteed to be visible. An example of using this function is shown in the [client entrypoint section](#in-your-client-entrypoint). | ||
### `getSerialized<Data>()` | ||
@@ -283,0 +285,0 @@ |
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
112132
290