I can imagine factoring a React UI into a set of top-level components, only one of which is visible at a given time based on the state of the application. There might be a d