interface DeprecatedLifecycle<P, S> {
    componentWillMount(): void;
    componentWillReceiveProps(nextProps: Readonly<P>): void;
    componentWillUpdate(nextProps: Readonly<P>, nextState: Readonly<S>): void;
    UNSAFE_componentWillMount(): void;
    UNSAFE_componentWillReceiveProps(nextProps: Readonly<P>): void;
    UNSAFE_componentWillUpdate(
        nextProps: Readonly<P>,
        nextState: Readonly<S>,
    ): void;
}

Type Parameters

  • P
  • S

Hierarchy (View Summary)

Methods