Give <template> tags a try
Today, the app is fully inserted in the DOM on load.
A cleaner way would be to load views into <template>
, to have the views inserted in the DOM only when necessary.
It might be that simply replacing <div>
view wrappers by <template>
could do the trick.