@shopify/react-async
Advanced tools
Comparing version 5.2.3 to 5.3.0
@@ -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) | undefined; | ||
} | ||
@@ -35,0 +36,0 @@ export type PreloadOptions<T> = T extends AsyncHookTarget<any, infer U, any, any> ? U : never; |
{ | ||
"name": "@shopify/react-async", | ||
"version": "5.2.3", | ||
"version": "5.3.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Tools for creating powerful, asynchronously-loaded React components", |
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
113724
1867