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

使用 useResource 发起的请求,在使用 CacheProvider 的情况下,会重复发起请求 #29

Open
Sharonzd opened this issue Oct 12, 2023 · 2 comments

Comments

@Sharonzd
Copy link

Sharonzd commented Oct 12, 2023

image

如题,如图。
缩小范围定位到是在同时使用了 CacheProvider、lazy import 的情况下出现。
但是因为无法调试,无法进一步定位原因
image

@otakustay
Copy link
Member

能弄个简单的复现项目给我么?我第一感觉是CacheProvider放得太里面,导致它不断销毁重建,等于没有cache就死循环了

@Sharonzd
Copy link
Author

已发送

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