supabase-cache-helpers icon indicating copy to clipboard operation
supabase-cache-helpers copied to clipboard

A collection of framework specific Cache utilities for working with Supabase.

Results 81 supabase-cache-helpers issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I have a parent that I'm using `useDirectoryFileUrls` to show images in a folder in and then the child is using `useDirectory` to check for existance of...

bug

Hi, First thanks for the great library. I'm trying to use it with `react-query` and noticed that you recommend this for the configuration: ```javascript const queryClient = new QueryClient({ defaultOptions:...

Improves documentation on the storage section of the documentation including configuration and return types and more examples. I can do a pass on the PostREST section if it's helpful.

**Describe the bug** using rpc like ``` const [key, initialData] = await fetchQueryInitialData( client .rpc('get_pos_initial_data') .throwOnError() ); ``` throws ` Query is not a PostgrestBuilder` using normal select query works...

bug

**Describe the bug** First, thank you for this great project. If a query contains `gte` or `lte` filters, it's unclear that one should use `revalidate: true` in the config to...

bug

This pull request includes updates to the `package.json` file to improve compatibility and maintain up-to-date dependencies. Dependency updates: * Updated the `pnpm` version from `8` to `9` in the `engines`...

I closely followed the setup as described here: https://supabase-cache-helpers.vercel.app/postgrest/ssr/react-query I have the following function in a lib dir: ``` export const getCompanyById = (client: TypedSupabaseClient, id: number) => { console.log(...

bug

**Describe the bug** By using useInsertMutation (or upsert or update of course), whatever we want to select() in the third parameter, it returns an array. A .single() method exists in...

enhancement

**Describe the bug** The documents don't fully explain how the mutation hooks work or I am too dense to unerstand them. **Additional context** The docs show things like this over...

documentation

**Describe the bug** When calling mutateAsync from the useUpsertMutation hook the data is refetched once per the number of rows updated in the upsert. **To Reproduce** To reproduce put a...

bug