Add publicly accessible caching keys for supabase-js queries #15372
Unanswered
icopp
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Right now, making use of the PostgREST functionality with a library like
@tanstack/react-querymeans writing your own cache keys or using the implementation detail of.url. Obviously neither is ideal. It would be better if the Supabase library instead exposed some kind of deterministiccacheKeyproperty that had info for a few levels of specificity, similar to how react-query caching keys allow very broad or very specific cache clearing.All reactions