Use the Loader component and a Main component

Montage provides a Loader component that loads a specific component (by default main.reel) and waits until all dependencies are loaded before adding it to the document.

This way there's no need to manually manage the "Loading..." text and the content of the application.