Skip to content
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

次屏组件加载机制优化 #691

Open
clark-t opened this issue Aug 29, 2019 · 0 comments
Open

次屏组件加载机制优化 #691

clark-t opened this issue Aug 29, 2019 · 0 comments
Assignees

Comments

@clark-t
Copy link
Contributor

clark-t commented Aug 29, 2019

要解决什么问题
目前我们在进行首屏组件加载的同时,为了滚动体验更好而选择同时加载了次屏组件,屏幕滚到次屏的时候,就不会看到各种组件和图片加载渲染的过程,并且同时开始第三屏的加载。

这样做在滚动体验上确实比只加载首屏要更好,但造成的问题就是,首屏加载时间会变得更长,毕竟要加载两屏的内容。

描述一下你理想中的解决方案

  1. 提供一个属性,让用户决定是否加载次屏;
  2. 或待首屏加载完毕之后,再去自动加载次屏;
  3. 是否考虑优化横向滚动的 lazyload 机制

描述你的备选方案
清晰准确的描述你考虑的备选方案

补充信息
补充其他信息,如截图等

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants