Code Editor
Web Browser

To make a child component update its parent's state, the first step is something that you've seen before: you must define a state-changing function on the parent.

Report a Bug
If you see a bug or any other issue with this page, please report it here.