-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat(actions): useRequest options add fetchKey #73
Labels
Comments
dompling
changed the title
feat(actions): useRequest add fetchKeys
feat(actions): useRequest options add fetchKeys
Apr 28, 2024
dompling
changed the title
feat(actions): useRequest options add fetchKeys
feat(actions): useRequest options add fetchKeys
Apr 28, 2024
dompling
changed the title
feat(actions): useRequest options add fetchKeys
feat(actions): useRequest options add fetchKey
Apr 28, 2024
你说的功能是 2x 的一个配置。新的版本是 3x 的 |
新的版本感觉可以用 cacheKey 来模拟一下那个行为。因为不同的 cacheKey 使用的 service 是独立的 |
感谢回复! |
不是的。
|
好的,谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
列表中多个元素调用同一个接口 loading 和 data 的状态维护
Solution
类似 ahooks 的 fetchKey,可以实现列表中维护不同元素的 loading
The text was updated successfully, but these errors were encountered: