Control Props

Control Props (๐Ÿ solution)
๐Ÿ‘จโ€๐Ÿ’ผ Phew! That was a tough one! But it's extremely powerful. It wouldn't be hard if we just wanted to lift the state. What makes it hard is wanting to have a single component that can not only manage its own state, but also have that state be managed externally as well.

Please set the playground first

Loading "Control Props"
Loading "Control Props"