static property
A property attached to a function or class itself rather than to its instances, such as Tabs.Item.
In more detail
Compound components attach their parts as static properties so users write <Toggle.Button /> and editors can list the available pieces. In class components, getDerivedStateFromError is a static method.
Related terms
- compound component — A set of components designed to be used together, such as Tabs, Tabs.Trigger and Tabs.Panel, that share state behind the scenes.
- getDerivedStateFromError — A static class method React calls after a child throws during rendering, returning new state so the boundary renders its fallback.
Taught in
- Compound Components: Inversion of Control with Context — React 19 & Modern Component Architecture