hooks icon indicating copy to clipboard operation
hooks copied to clipboard

useRequest 开启 staleTime 缓存后轮询失效

Open LaamGinghong opened this issue 11 months ago • 1 comments

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

LaamGinghong avatar Mar 22 '24 06:03 LaamGinghong

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

liuyib avatar Apr 01 '24 07:04 liuyib