React 19+ · Type Alias
ComponentPropsWithoutRef
Component is the base class for React class components. Extend it and define render; React also supports optional state, context, and lifecycle methods.
Last updated
Syntax
class MyComponent extends Component { render() { return ...; } }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
contextpropsstaterendersetStatecomponentDidMountcomponentDidUpdatecomponentWillUnmount