LegacyRef: Use `Ref` instead. String refs are no longer supported. If you're typing a library with support for React versions with string refs, use `RefAttributes<T>['ref']` instead.
ElementRef: Use `ComponentRef<T>` instead Retrieves the type of the 'ref' prop for a given component type or tag name.
FunctionComponentElement: Use `ReactElement<P, React.FunctionComponent<P>>`
CElement: Use `ReactElement<P, React.ComponentClass<P>>`
ComponentElement: Use `ReactElement<P, React.ComponentClass<P>>`
ClassicElement: Use {@link ComponentElement} instead.
DOMElement: Use `ReactElement<P, string>`
ClassicComponent: Use `ClassicComponent` from `create-react-class` {@link https://legacy.reactjs.org/docs/react-without-es6.html Legacy React Docs} {@link https://www.npmjs.com/package/create-react-class `create-react-class` on npm}
ClassicComponentClass: Use `ClassicComponentClass` from `create-react-class` {@link https://legacy.reactjs.org/docs/react-without-es6.html Legacy React Docs} {@link https://www.npmjs.com/package/create-react-class `create-react-class` on npm}
PropsWithRef: Ensures that the props do not include string ref, which cannot be forwarded Use `Props` directly. `PropsWithRef<Props>` is just an alias for `Props`
MutableRefObject: Use `RefObject` instead.
FormEvent: FormEvent doesn't actually exist. You probably meant to use {@link ChangeEvent}, {@link InputEvent}, {@link SubmitEvent}, or just {@link SyntheticEvent} instead depending on the event type.
FormEventHandler: FormEventHandler doesn't actually exist. You probably meant to use {@link ChangeEventHandler}, {@link InputEventHandler}, {@link SubmitEventHandler}, or just {@link EventHandler} instead depending on the event type.
FunctionComponentElement.ref: Use `element.props.ref` instead.
CElement.ref: Use `element.props.ref` instead.
ComponentElement.ref: Use `element.props.ref` instead.
ClassicElement.ref: Use `element.props.ref` instead.
DOMElement.ref: Use `element.props.ref` instead.
ReactHTMLElement.ref: Use `element.props.ref` instead.
DetailedReactHTMLElement.ref: Use `element.props.ref` instead.
ReactSVGElement.ref: Use `element.props.ref` instead.
Component.componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@link https://legacy
Component.UNSAFE_componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@lin
Component.componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} instead; will stop working in React 17 {@link ht
Component.UNSAFE_componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} i
Component.componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reactjs.org/blog/201
Component.UNSAFE_componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reac
PureComponent.componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@link https://legacy
PureComponent.UNSAFE_componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@lin
PureComponent.componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} instead; will stop working in React 17 {@link ht
PureComponent.UNSAFE_componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} i
PureComponent.componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reactjs.org/blog/201
PureComponent.UNSAFE_componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reac
ClassicComponent.componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@link https://legacy
ClassicComponent.UNSAFE_componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@lin
ClassicComponent.componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} instead; will stop working in React 17 {@link ht
ClassicComponent.UNSAFE_componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} i
ClassicComponent.componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reactjs.org/blog/201
ClassicComponent.UNSAFE_componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reac
FC.propTypes: Ignored by React. Only kept in types for backwards compatibility. Will be removed in a future major release.
FunctionComponent.propTypes: Ignored by React. Only kept in types for backwards compatibility. Will be removed in a future major release.
ForwardRefRenderFunction.propTypes: Ignored by React. Only kept in types for backwards compatibility. Will be removed in a future major release.
ComponentClass.propTypes: Ignored by React. Only kept in types for backwards compatibility. Will be removed in a future major release.
ComponentClass.componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@link https://legacy
ComponentClass.UNSAFE_componentWillMount: Called immediately before mounting occurs, and before {@link Component.render}. Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use {@link ComponentLifecycle.componentDidMountcomponentDidMount} or the constructor instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state} {@lin
ComponentClass.componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} instead; will stop working in React 17 {@link ht
ComponentClass.UNSAFE_componentWillReceiveProps: Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling {@link Component.setState} generally does not trigger this method. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use static {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} i
ComponentClass.componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reactjs.org/blog/201
ComponentClass.UNSAFE_componentWillUpdate: Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call {@link Component.setState} here. This method will not stop working in React 17. Note: the presence of {@link NewLifecycle.getSnapshotBeforeUpdategetSnapshotBeforeUpdate} or {@link StaticLifecycle.getDerivedStateFromPropsgetDerivedStateFromProps} prevents this from being invoked. 16.3, use getSnapshotBeforeUpdate instead {@link https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update} {@link https://legacy.reac
ClassicComponentClass.propTypes: Ignored by React. Only kept in types for backwards compatibility. Will be removed in a future major release.