Skip to content

Glossary: React Basics

Default value (props)

Also written: default prop, default

A value a prop gets when the parent doesn't pass one, written in destructuring as `size = "small"`.

Where the book teaches it

Related terms

PropsDestructuring props