Skip to content

Glossary: React Basics

Controlled input

Also written: controlled, controlled form field

A form field whose value comes from state: `value={name}` shows it and `onChange` stores each change. The state is the single source of truth for the field.

Where the book teaches it

Related terms

Uncontrolled inputSingle source of truthState