Interface LazyExoticComponent<T>

An object masquerading as a component. These are created by functions like forwardRef, memo, and createContext.

In order to make TypeScript work, we pretend that they are normal components.

But they are, in fact, not callable - instead, they are objects which are treated specially by the renderer.

interface LazyExoticComponent<T> {
    $$typeof: symbol;
    _result: T;
    (props): ReactNode;
}

Type Parameters

Hierarchy (view full)

Properties

Properties

$$typeof: symbol
_result: T