Code Editor
Learn

Let's make a stateful component pass its state to a stateless component.

To make that happen, you need two component classes: a stateful class, and a stateless class.

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