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

perf:优化缓存页面,无需维护复杂的cachedRoutes #40

Merged
merged 1 commit into from
Jun 16, 2020
Merged

Conversation

hipi
Copy link
Contributor

@hipi hipi commented Jun 16, 2020

优化缓存页面,无需维护复杂的cachedRoutes

  • 去除繁琐的cachedRoutes增删查
  • 直接从store历史列表里筛选出需要缓存的页面放进缓存列表

@zxwk1998
Copy link
Owner

能加我qq吗1204505056 这个地方参考了好多开源代码一直没找到好的方式

@hipi
Copy link
Contributor Author

hipi commented Jun 16, 2020

能加我qq吗1204505056 这个地方参考了好多开源代码一直没找到好的方式

可 😄

@zxwk1998 zxwk1998 merged commit 0a05408 into zxwk1998:master Jun 16, 2020
@zxwk1998
Copy link
Owner

好想法但是这样顶部刷刷新,右边的下拉刷新了,如果不维护的store的话,刷新缓存还在

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