cleanup and use props for rendering
cleanup and use props for rendering

setInitialState only gets called the first time the component is
created, which means the child properties won’t be updated correctly
with state since we’re setting it outside the component (unless there’s
a way to set it in the constructor).

CCI-MOC/GUI-Frontend,CCI-MOC/GUI-Frontend,CCI-MOC/GUI-Frontend,CCI-MOC/GUI-Frontend,CCI-MOC/GUI-Frontend