@umijs/renderer-react
Advanced tools
Comparing version 4.3.35 to 4.3.36
@@ -150,5 +150,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
// preload lazy component | ||
// window.__umi_manifest__ is available when routePrefetch and manifest config is enabled | ||
// __umi_manifest__ is not needed for preload, keep this is for compatibility and minimal change | ||
if (window.__umi_manifest__) { | ||
// window.__umi_route_prefetch__ is available when routePrefetch and manifest config is enabled | ||
if (window.__umi_route_prefetch__) { | ||
var _opts$routeComponents; | ||
@@ -155,0 +154,0 @@ // ref: https://github.com/facebook/react/blob/0940414/packages/react/src/ReactLazy.js#L135 |
@@ -5,2 +5,2 @@ import React, { PropsWithChildren } from 'react'; | ||
prefetch?: boolean; | ||
} & LinkProps & React.RefAttributes<HTMLAnchorElement>>): JSX.Element | null; | ||
} & LinkProps & React.RefAttributes<HTMLAnchorElement>>): React.JSX.Element | null; |
@@ -17,2 +17,2 @@ import React from 'react'; | ||
} | ||
export declare function withRouter<P extends RouteComponentProps<P>>(Component: React.ComponentType<P>): (props: P) => JSX.Element; | ||
export declare function withRouter<P extends RouteComponentProps<P>>(Component: React.ComponentType<P>): (props: P) => React.JSX.Element; |
{ | ||
"name": "@umijs/renderer-react", | ||
"version": "4.3.35", | ||
"version": "4.3.36", | ||
"description": "@umijs/renderer-react", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/umijs/umi/tree/master/packages/renderer-react#readme", |
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
46140
1086