I’m building a web app in stencil, using ion-router for nav, but I’ve noticed that the browser downloads the component dependencies for the new route as-needed when the route changes. Most of the time this isn’t an issue but if there is slower than expected network latency there can sometimes be a noticeable lag between when the user clicks a nav element and the page actually transitions.
Is there any way to pre-load components for other pages after the home page has loaded? I know Angular had module preloading sorted out, anyone know of an equivalent for stand-alone Stencil?