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

使用swr替换redux数据 #128

Open
zj9495 opened this issue Sep 24, 2021 · 0 comments
Open

使用swr替换redux数据 #128

zj9495 opened this issue Sep 24, 2021 · 0 comments

Comments

@zj9495
Copy link
Owner

zj9495 commented Sep 24, 2021

现在的部分组件状态保存在redux数据中,如列表页的种子列表数据,导致redux数据过于复杂。
现在已经引入swr可以更优雅的处理接口数据,考虑使用swr请求替换redux的部分逻辑

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

1 participant