Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Preloading component dependencies in stencil SPA

$
0
0

@beck24 wrote:

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>