@shopify/react-async
Advanced tools
Comparing version 0.0.0-snapshot-20230428103020 to 0.0.0-snapshot-20230901173601
@@ -194,2 +194,6 @@ 'use strict'; | ||
}); | ||
Reflect.defineProperty(FinalComponent, 'renderLoading', { | ||
value: renderLoading, | ||
writable: false | ||
}); | ||
return FinalComponent; | ||
@@ -196,0 +200,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import type { ReactElement } from 'react'; | ||
import type { ReactElement, ReactNode } from 'react'; | ||
import type { Resolver } from '@shopify/async'; | ||
@@ -33,2 +33,3 @@ import type { IfAllOptionalKeys, NoInfer } from '@shopify/useful-types'; | ||
KeepFresh(props: KeepFreshOptions): React.ReactElement<{}> | null; | ||
renderLoading(props: Props): ReactNode; | ||
} | ||
@@ -35,0 +36,0 @@ export type PreloadOptions<T> = T extends AsyncHookTarget<any, infer U, any, any> ? U : never; |
{ | ||
"name": "@shopify/react-async", | ||
"version": "0.0.0-snapshot-20230428103020", | ||
"version": "0.0.0-snapshot-20230901173601", | ||
"license": "MIT", | ||
@@ -36,4 +36,4 @@ "description": "Tools for creating powerful, asynchronously-loaded React components", | ||
"@shopify/react-effect": "^5.0.3", | ||
"@shopify/react-hooks": "0.0.0-snapshot-20230428103020", | ||
"@shopify/react-hydrate": "0.0.0-snapshot-20230428103020", | ||
"@shopify/react-hooks": "^3.0.5", | ||
"@shopify/react-hydrate": "^3.0.10", | ||
"@shopify/react-idle": "^3.1.2", | ||
@@ -40,0 +40,0 @@ "@shopify/react-intersection-observer": "^4.0.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
113705
1867
+ Added@shopify/react-hooks@3.2.04.1.2(transitive)
+ Added@shopify/react-hydrate@3.1.4(transitive)
- Removed@shopify/react-hooks@0.0.0-snapshot-20230428103020(transitive)
- Removed@shopify/react-hydrate@0.0.0-snapshot-20230428103020(transitive)
Updated@shopify/react-hooks@^3.0.5