Say I have the following component structure:
App
DivContainer1
Child1
Button1
Child2
Button2
DivContainer2
AComponentHere
When I press Button1, I want to replace the contents of DivContainer2 with another component, e.g. replace AComponentHere with AnotherComponent that will render data based on which Child's button was clicked.
Should there be an AppStore and AppAction that tells it to change to another component, or should I pass down props that change the state here? Basically, I would like to know if Stores are used for only holding data state, or also holding ui state.