-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在多个子应用同时激活的情况下 ,打开页面出现白屏 #31
Labels
need info
give more info and reopen the issue
Comments
在多个子应用同时激活的情况下 ,第一次进入打开页面其它子应用加载比较,出现白屏 |
一个子应用的加载可以分为三个过程: 1、静态资源的请求下载,2、资源的运行,包括html的解析、js的解析执行,3、子应用的实例mount 其中 过程 1 可以通过 preloadApp 来提前加载,2 和 3 可以通过 preloadApp 的 exec模式来提前执行,但是这个preloadApp是相当于将子应用的加载提前来做 如果子应用从来都没有加载也没有采用preloadApp预加载,那么就要经历过程1、2、3,白屏时间较长 如果子应用之前已经加载过了:
|
可以考虑增加loader,减少焦虑😄 |
@jk4235 loader 已经全覆盖 html、css、js,用户主动性非常大了 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: