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

Investigate cache-related issues #1

Open
openjck opened this issue Feb 1, 2022 · 0 comments
Open

Investigate cache-related issues #1

openjck opened this issue Feb 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@openjck
Copy link
Collaborator

openjck commented Feb 1, 2022

redux-bees caches API calls, but cached data is hardly useful when a developer needs to accurately determine, for instance, when a record was last saved.

redux-bees offers two official solutions to this problem, refetch and invalidateRequests, but I have not been able to make either work. On a recent project, even when I used these methods of getting fresh data, I was still getting cached data from redux-bees. I worked around this by manually adding query parameters to requests to bust the cache.

We should investigate whether refetch and invalidateRequests work, and if not, why not.

@openjck openjck added the bug Something isn't working label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant