© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago
Alexito

How to reuse fetchers across environments

According to React Bulletproof, the API layer is easiest to manage when there's a single client that works on both the client and server. That way, fetcher functions can be reused across environments.

I'm trying to do the same with Supabase, so is it possible to create one Supabase client that works in both the client and server environments?

Thank you,
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

How to people handle multiple environments?
SupabaseSSupabase / help-and-questions
8mo ago
How to multiply same value across all records?
SupabaseSSupabase / help-and-questions
4y ago
How to search across multiple columns and tables
SupabaseSSupabase / help-and-questions
4y ago
Google OAuth credentials reuse
SupabaseSSupabase / help-and-questions
4y ago