react-performance-testing
Version:
You can test React(ReactNative) runtime performance by using this lib. If you want to check the number of renders, or render time in a test environment, this lib makes sense.
6 lines • 329 B
TypeScript
/// <reference types="react" />
import { ReactSymbol } from './symbols';
export declare const shouldTrack: (component: any) => component is import("react").ElementType<import("react").ComponentClass<{}, any> | import("react").FunctionComponent<{}>> & {
$$typeof: ReactSymbol;
};
//# sourceMappingURL=shouldTrack.d.ts.map