We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to access global cache using useSWRConfig and updated cache is delayed by few seconds.
const { cache } = useSWRConfig is there any other way to subscribe to global cache ?
const { cache } = useSWRConfig
What kind of issues did you encounter with SWR?
How did you expect SWR to behave here?
Or share your code snippet or a CodeSandbox link is also appreciated!
SWR version. Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
quick update looks like cache is updated, after rerender only
Sorry, something went wrong.
No branches or pull requests
Bug report
I am trying to access global cache using useSWRConfig and updated cache is delayed by few seconds.
const { cache } = useSWRConfig
is there any other way to subscribe to global cache ?
Description / Observed Behavior
What kind of issues did you encounter with SWR?
Expected Behavior
How did you expect SWR to behave here?
Repro Steps / Code Example
Or share your code snippet or a CodeSandbox link is also appreciated!
Additional Context
SWR version.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: