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

useRequest 开启 staleTime 缓存后轮询失效 #2505

Open
LaamGinghong opened this issue Mar 22, 2024 · 1 comment
Open

useRequest 开启 staleTime 缓存后轮询失效 #2505

LaamGinghong opened this issue Mar 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@LaamGinghong
Copy link

https://stackblitz.com/edit/stackblitz-starters-imtqya?file=src%2FApp.tsx,src%2Findex.tsx 这个是在线 demo,当开启 staleTime 后希望定期更新数据,函数并没有被重新执行

@crazylxr crazylxr self-assigned this Mar 28, 2024
@liuyib
Copy link
Collaborator

liuyib commented Apr 1, 2024

确实有问题。后面估计需要统一再测试下 useRequest 各个参数之间的配合问题

@liuyib liuyib added the bug Something isn't working label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants