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
前提假设:添加分页,保留实时信息更新的功能
state
因为在分页的条件下如果不能一次性把数据全部load到本地并且在本地更新,很难实现实时信息的插入。所以,如果实时更新的内容在显示页的当页,可以进行更新,包括重新排序等等。如果不在这一页当中,在顶部提示有新的信息,鼠标悬置显示新信息的内容,点击界面刷新,跳回首页。
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
No branches or pull requests
前提假设:添加分页,保留实时信息更新的功能
分页
state
保存在内部,因为每一页的内容会变动,在URL当中体现页码也没有意义实时信息更新
因为在分页的条件下如果不能一次性把数据全部load到本地并且在本地更新,很难实现实时信息的插入。所以,如果实时更新的内容在显示页的当页,可以进行更新,包括重新排序等等。如果不在这一页当中,在顶部提示有新的信息,鼠标悬置显示新信息的内容,点击界面刷新,跳回首页。
The text was updated successfully, but these errors were encountered: