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

关于redux的一个比较急的问题 #198

Closed
qq326646683 opened this issue Dec 26, 2018 · 6 comments
Closed

关于redux的一个比较急的问题 #198

qq326646683 opened this issue Dec 26, 2018 · 6 comments

Comments

@qq326646683
Copy link

一个页面下拉刷新,其他被StoreBuilder包着的页面都会执行build,大量重复渲染怎么解决啊??

@qq326646683
Copy link
Author

我在A页面dispatch改变B页面的数据,结果被StoreBuilder的页面都build了一遍。。。

@qq326646683
Copy link
Author

image

@qq326646683
Copy link
Author

不用StoreBuilder包裹,改成这样也不行。。。

@CarGuo
Copy link
Owner

CarGuo commented Dec 26, 2018

额,我这么看也不好说,主要是shying你的地方不要绑定整个store,更新时也仅更新store内的某个对象

@qq326646683
Copy link
Author

那么请问如何使用多个store呢?

@qq326646683
Copy link
Author

还请大神能把一个store拆分开,做到dispatch后只build用到改变的数据的地方,解决dispatch后所有页面都build的问题,万分感谢🙏

@CarGuo CarGuo closed this as completed Jan 15, 2019
@CarGuo CarGuo mentioned this issue Nov 21, 2019
@w497763094 w497763094 mentioned this issue Mar 10, 2020
@JevonShi JevonShi mentioned this issue Mar 10, 2020
@HaobinXu HaobinXu mentioned this issue Mar 20, 2020
@luan823230 luan823230 mentioned this issue Mar 24, 2020
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
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

2 participants