© 2026 Hedgehog Software, LLC

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

Redux-Query(RTK-query) with supabase

Hi there, I am having confusion about how to use RTK-query with supabase in NEXTJS with the freedom to use getServerSideProps as well. I am thinking of using fakeBaseQuery as baseQuery in my slice and define async queries and use those exported hooks inside getServerSideProps() wherever needed but i am not sure that i can use hooks inside getServerSideProps().

It'd really awesome if someone could tell me what would be the better approach or point me to some direction. Thanks
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

Redux Toolkit Query & autogenerated Supabase types
SupabaseSSupabase / help-and-questions
3y ago
redux-next-wrapper with supabase v2 ssr
SupabaseSSupabase / help-and-questions
4y ago
Supabase query
SupabaseSSupabase / help-and-questions
4y ago
Realtime & RTK?
SupabaseSSupabase / help-and-questions
3y ago