🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-keep-alive

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-keep-alive - npm Package Compare versions

Comparing version

to
2.4.1

5

cjs/utils/bindLifecycle.d.ts
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;

2

package.json
{
"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",