useSwr return params #2991
vaynevayne
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
like https://ahooks.js.org/hooks/use-request/cache#parameters-cache
The solution scenario is: When I return to the list page from the details page, I want to use the previous data, which is supported (keepPreviousData), but I still need to restore other states on the page, such as form, otherwise the ui is inconsistent
Beta Was this translation helpful? Give feedback.
All reactions