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

前端改进疑问 - Karma 动态改变 #19

Open
lingsamuel opened this issue Apr 28, 2017 · 2 comments
Open

前端改进疑问 - Karma 动态改变 #19

lingsamuel opened this issue Apr 28, 2017 · 2 comments

Comments

@lingsamuel
Copy link

点反对似乎要消耗 2 Karma,那么但是左上的 Karma 要等刷新才能改变,那么,要不要在前端做一个 Karma 的修改骗一骗用户呢?

之所以用骗一骗这个词,是因为用户完全可以多开标签,每个标签点几个反对,然后前端只会改变当前页面的更改,这样实现起来比较简单。

当然如果愿意的话完全可以做成 Karma 真正同步。

@OmmyZhang
Copy link

话说真同步的话是要重新渲染页面吗?

@erichuang1994
Copy link
Collaborator

@OmmyZhang 显然不用重新渲染呀

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

No branches or pull requests

3 participants