Skip to content

Glossary: React Basics

Destructuring props

Also written: destructure

Unpacking the props object right in the parameter list, as in `function ProductCard({ name, priceCents })`. It shows exactly which props the component expects.

Where the book teaches it

Related terms

PropsDefault value (props)