use-mutable-source
Version:
Minimal and elegant way to integrate any library with React
8 lines (7 loc) • 332 B
TypeScript
/**
* In __DEV__, React exposes some internals and it's possible do determine if a
* component is rendering. This method should be called only in __DEV__ environments.
*
* @returns A Boolean representing if React is rendering, always false outside __DEV__ environments
*/
export declare function isRendering(): boolean;