UNPKG

react-keep-alive

Version:

Package will allow components to maintain their status, to avoid repeated re-rendering.

13 lines (12 loc) 387 B
import * as React from 'react'; export interface IIdentificationContextProps { identification: string; eventEmitter: any; keepAlive: boolean; getLifecycle: () => number; isExisted: () => boolean; activated: boolean; extra: any; } declare const WithKeepAliveContext: React.Context<IIdentificationContextProps>; export default WithKeepAliveContext;