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.
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,
refetchandinvalidateRequests, 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
refetchandinvalidateRequestswork, and if not, why not.