Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

controlled component

a form field whose displayed value comes from React state on every render.

A little more detail

A controlled input sets value (or checked) from state and updates that state in onChange. The React state is the source of truth, so validation, disabling submit, and resetting the form all read the same data. An uncontrolled input instead keeps its value in the DOM until you read a ref.

See it in practice

These lessons pair the idea with examples you can change and run.