We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Backlog 一次性展示大量内容会导致性能上的严重问题。解决的方案就是以 20 条每次的方式逐步加载,当用户向上滑动的时候,再在合适的时机(比如最后一条在屏幕中展示时),再加载20条。避免由于频繁打开和关闭 Backlog 导致的性能问题。
为什么采用这样的方案:大多数用户并不会浏览太多条 Backlog,而滚动加载也给那些想要看更多历史对话的用户一个选择的权利。
The text was updated successfully, but these errors were encountered:
当然,也包括一些其他的优化,比如优化 useMemo
Sorry, something went wrong.
MakinoharaShoko
No branches or pull requests
Backlog 一次性展示大量内容会导致性能上的严重问题。解决的方案就是以 20 条每次的方式逐步加载,当用户向上滑动的时候,再在合适的时机(比如最后一条在屏幕中展示时),再加载20条。避免由于频繁打开和关闭 Backlog 导致的性能问题。
为什么采用这样的方案:大多数用户并不会浏览太多条 Backlog,而滚动加载也给那些想要看更多历史对话的用户一个选择的权利。
The text was updated successfully, but these errors were encountered: