how to refresh all swr hook used by nested components at top component? #1890
Unanswered
leviathan-n
asked this question in
Q&A
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.
Uh oh!
There was an error while loading. Please reload this page.
-
the docs recommends swr style is using swr hook in nested components instead of manually requesting data at top component and then passing down to nested component.
but suppose i hava a component like that
How can i ensure that when i refresh the page, the boards and issues are all up to date? Sometimes ids of boardlists don't change but issues of boards still need be updated
or just use the global mutate function to mutate keys which match the issues request's pattern? like that
Beta Was this translation helpful? Give feedback.
All reactions