Check out Handling events and callbacks in ReactJS by JR. Here is an excerpt:
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.
Here is a simple bit of code…