You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2020. It is now read-only.
Lazy loading is very important for bundle size. Does Svero supports lazy route loading? How can I display a progress bar during route loading? Is there any plan to add router hooks?
The text was updated successfully, but these errors were encountered:
If by lazy loading you mean code-splitting (a route's code is only loaded if it's called by the URL), then the answer is no.
If you need that level of control over what your client receives in terms of bundle size, you should try using a fully featured framework such as Sapper.
I bet you could work around it and make the "Route" component a light wrapper that calls import(...).then(dynamicComponent => ...) and then use <svelte:component this={dynamicComponent.default}/>?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Lazy loading is very important for bundle size. Does Svero supports lazy route loading? How can I display a progress bar during route loading? Is there any plan to add router hooks?
The text was updated successfully, but these errors were encountered: