Check out Handling events and callbacks in ReactJS by JR. Here is an excerpt:
https://facebook.github.io/react/docs/thinking-in-react.html
So I have been studying ReactJS that last couple weeks. Mostly banging my head trying to come up with simple examples. Here is one based on Thinking in React that demos how to do callbacks.
Starting simple
Here is a simple bit of code…
The full article is available here.