React 19+ · Type Alias
ComponentType
React components are reusable UI parts. New components are usually JavaScript functions that return JSX; class components are still supported but are not recommended for new code.
Last updated
Syntax
function ComponentName(props) { return <Element />; }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ComponentFragmentProfilerSuspenseStrictModeActivityViewTransition