News for hackers. Stuff that matters.
Re:Master these five concepts to master React by acemarke on Wednesday January 11, 2017 @11:26AM (#13375035)
By passing down callback functions as props. One of the basic patterns of React is that parents communicate to their children by passing down data as props, and they also pass down callback functions that a child can execute to communicate upwards.

There's a great article that describes various component communication patterns at http://andrewhfarmer.com/component-communication/ .

Re:Master these five concepts to master React by rquestion on Wednesday January 11, 2017 @11:46AM (#13375242)
Thanks. Exactly what I was looking for.
Re:Master these five concepts to master React by neurostimulant on Wednesday January 11, 2017 @02:09PM (#13376584)
Also, take a look at optional libraries such as redux (and its friends, e.g. redux-saga or redux-thunk). You don't have to use them, but when your codebase starts getting complicated with lots of callback, perhaps using those state management libraries would help.