Before we discuss more on route handler template rendering, it's worth discussing what happens when the application transitions between states in the context of templates. This section will be revisited in detail in the next chapter. In our chapter example, the application eventually knows the transition, as outlined in order:
application template is first rendered on the screen. The next template,
contacts, is then rendered into the application template to constitute the sidebar. Next, the
contact template is inserted into the
contacts template. Lastly, the
contact.index template was inserted into the
contact template to complete the transition. ...