API ergonomics

How easy and pleasant a component's props and structure are to use correctly, and how hard they are to misuse.

In more detail

Ergonomic APIs have few, well-named props, sensible defaults and types that reject invalid combinations. Composition and variants usually beat boolean flags on ergonomics.

Related terms

Taught in

References