React JS Quiz
HomeBlogPrivacy PolicyContact UsTutorialsNewBuy me a coffee

Components and Props

  1. 1.Thinking in Components
  2. 2.Passing Props
  3. 3.Children and Composition
  4. 4.Props in Practice
  5. 🏁 End-of-tutorial quiz
Advertisement
Tutorials/Beginner/Components and Props

Components and Props

Split a UI into components, pass data down with props, use children for composition, and understand why props are read only.

Level
Beginner
Chapters
4
Exercises
1
Reading time
15 min
Start the tutorial →

What you will cover

  1. 1. Thinking in ComponentsHow to break a screen into components and where to draw the lines.
  2. 2. Passing PropsHow data flows from parent to child, and why props cannot be changed by the child.
  3. 3. Children and CompositionThe children prop, and using components as slots instead of piling on options.
  4. 4. Props in PracticeSpreading props, forwarding the rest, and building a reusable component.
Already know this? Jump to the 7 question quiz →

Up next after this one: State with useState

Advertisement
Advertisement
Support the developer