Communication between components
Parent to child messaging
Pass data as props that cause a rerender, this is the way to pass messages to children.
Child to parent messaging
Pass down a callback via props, that the child on an event can call. Example