Skip to content

Glossary: React Basics

Computed property name

Also written: computed key

Square brackets around an object key, as in `{ [name]: value }`, which use the variable's value as the key. This lets one `handleChange` update whichever form field changed.

Where the book teaches it

Related terms

Controlled input