B4Coder
0%
LessonAbout 5 min

Chapter 3 · Lesson 2 of 5

02. Destructuring props

Unpack the props you need right in the component's parameters, so the JSX says {name} instead of {props.name}.

Opening the lesson…