1
React Hooks
Source: supabase/supabase#726 · opened by @cdedreuille
From the Slack clone example, I can see that in order to get realtime data from Supabase, you are creating a listener and then if there's a new row added you're concatenating the new row with the existing one. While this is pretty simple to understand, I wonder if there is a simpler way to do this?
Firebase has the .onSnapshot() method with the listener built-in.
Is this something you are planning to do? Or is there a Reac Hook that simplifies Supabase queries out there?
I'm mostly using react-firebase-hooks right now to query Firebase on my Nextjs app.
Firebase has the .onSnapshot() method with the listener built-in.
Is this something you are planning to do? Or is there a Reac Hook that simplifies Supabase queries out there?
I'm mostly using react-firebase-hooks right now to query Firebase on my Nextjs app.
No pledges yet. Be the first to back this.
Comments
Similar requests
supabase/ssr add useJWT, useSession, useUser hooks for react
2 votes · 0 comments
Supabase client not working properly with React Native CLI
3 votes · 0 comments
Expo app with oAuth UI
2 votes · 0 comments
supabase/ssr: Offer other means of storing/sending session data other than cookies
3 votes · 0 comments
Implementing custom auth for edge functions
1 vote · 0 comments
No comments yet.