-
Notifications
You must be signed in to change notification settings - Fork 189
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
请教一下楼主ajax请求返回的数据合并问题 #1
Comments
这里的 setState 用 prevState 好点吧 |
查了一下,是 prevState 好;marked 的用法好多的,好用就好。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请教一下楼主,
src/components/articles/articles.js
文件第125行,如下图所示:每次下拉触发ajax请求,取回了一定数量的的数据,每取回一次都要和已经取回的数据进行一次合并操作,当一直往下拉的时候,数据会越来越多,数组越来越大,会不会性能很差呢?
The text was updated successfully, but these errors were encountered: