Tutorials
Read this first: https://facebook.github.io/react/docs/thinking-in-react.html
Installation
sudo yarn global add create-react-app
Create new app
create-react-app react-civ5save
Get element by ID
Generally you should be using events from within your components instead, but if you really do need to get a specific element, use ref: https://facebook.github.io/react/docs/refs-and-the-dom.html
Send data from parent to child component
Parent: send data in props
Child: this.props
Send data from child to parent
https://facebook.github.io/react/docs/thinking-in-react.html#step-5-add-inverse-data-flow