You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting idea. Usually I would recommend to people to try and figure out why they need it (can you invalidate the cache in another way? why does it need to be refreshed?)
However, I think there's valid reasons to want this. For instance, if you expect that the server may have had a state change (perhaps by another user).
So, makes sense to me a s a feature request; and this is something that should probably be extended to other hooks like useCollection
Without using the react hooks you can do something like that to skip the cache:
But is it possible to skip the cache using the useResource hook? The example below returns the movie object from the cache.
The text was updated successfully, but these errors were encountered: