WeCodeAcademy

Components and Props

Build with small components and reuse them. Props are the inputs you pass in, like attributes. A component names them as a parameter object.

Examplereact
Open in editor »

Component names start with a capital letter. Props flow down from parent to child and a child never changes them.

Quick check

How does a component receive values from its parent?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.