B4Coder
0%
LessonAbout 6 min

Chapter 8 · Lesson 2 of 5

02. Passing functions down

A child can't change its parent's state itself, but the parent can hand it a function that does. Pass it down as a prop.

Opening the lesson…