callback functions

A 1-post collection

Send Data from a Child to its Parent Component Using Callback Functions

When you get started with React, you'll notice that data flows one way - from parent to child components. I wanted to test out using a two-way data workflow without implementing Flux/Redux. So I built a toggle sidebar to display this behaviour through using callback functions. In the image »