Skip to content
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

Bug with QueryCache class #1026

Closed
todortotev opened this issue Sep 16, 2020 · 6 comments
Closed

Bug with QueryCache class #1026

todortotev opened this issue Sep 16, 2020 · 6 comments

Comments

@todortotev
Copy link
Contributor

Screenshot 2020-09-16 at 19 18 22

Screenshot 2020-09-16 at 19 18 40

@boschni
Copy link
Collaborator

boschni commented Sep 16, 2020

Are you able to update to the latest version?

@hukka
Copy link

hukka commented Sep 17, 2020

This seems to also break the examples in the docs, for example https://react-query.tanstack.com/docs/examples/optimistic-updates

@boschni
Copy link
Collaborator

boschni commented Sep 17, 2020

The regular examples are working https://react-query.tanstack.com/docs/examples/simple but the next.js examples seem to cache a previous version. Any idea on how to update them @tannerlinsley ?

@boschni
Copy link
Collaborator

boschni commented Sep 17, 2020

Examples are working again!

@hukka
Copy link

hukka commented Sep 17, 2020

Hm. The optimistic-updates is giving "Reloading too fast" when embedded, but works when opening in codesandbox. But surely a different issue now than this one.

@tannerlinsley
Copy link
Collaborator

Please open a new issue for that one with a codesandbox that replicates the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants