© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
andreterron

Reactive Client DB Cache

I’ve been using SWR to cache Supabase queries, but I don’t want to manually trigger a refetch every time I do an insert/update. Has anyone built/seen a reactive db replica/cache on the client?

For more context, the scenario I’m thinking is the following:

I’m showing a list of X, when the user creates a new X, I want the list to update immediately with the local data, and also trigger a new query request to Supabase.

I might build this if it doesn’t exist, but I wanted to first ask about it.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Prefer db functions over client queries?
SupabaseSSupabase / help-and-questions
3y ago
Supabase hosted db getting max_client_conn error
SupabaseSSupabase / help-and-questions
4y ago
cache
SupabaseSSupabase / help-and-questions
4y ago
Does using supabase db like the docs, hits the cache layer?
SupabaseSSupabase / help-and-questions
3mo ago