react-keep-alive
Advanced tools
Comparing version
import * as React from 'react'; | ||
export declare const bindLifecycleTypeName = "$$bindLifecycle"; | ||
export default function bindLifecycle<P = any>(Component: React.ComponentClass<P>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<{}>> & { | ||
contextType: React.Context<any> | undefined; | ||
getDerivedStateFromError: React.GetDerivedStateFromError<P, any> | undefined; | ||
}; | ||
export default function bindLifecycle<P = any>(Component: React.ComponentClass<P>): any; |
import * as React from 'react'; | ||
export declare const bindLifecycleTypeName = "$$bindLifecycle"; | ||
export default function bindLifecycle<P = any>(Component: React.ComponentClass<P>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<{}>> & { | ||
contextType: React.Context<any> | undefined; | ||
getDerivedStateFromError: React.GetDerivedStateFromError<P, any> | undefined; | ||
}; | ||
export default function bindLifecycle<P = any>(Component: React.ComponentClass<P>): any; |
{ | ||
"name": "react-keep-alive", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Package will allow components to maintain their status, to avoid repeated re-rendering.", | ||
@@ -5,0 +5,0 @@ "author": "Shen Chang", |
279250
-0.16%2996
-0.2%