-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: replace API polling with db websocket sub #60
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0xernesto I just tried to run this locally, connected to my personal Supabase, but new txs aren't being displayed via realtime. I turned off RLS. I also tried on the vercel preview link, but same problem.
Is this working in staging for you or is it not supposed to be now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0xernesto I ended up doing a major rework of this. It did rely on open permissions and the data fetching was pretty hard for me to follow. I did also encounter issues getting RLS to play nice with Clerk but this thread was very helpful: supabase/supabase-js#553 (comment)
I'll do a bit more testing in staging and then will merge this soon. Thanks for all the help.
6225b3e
to
9550477
Compare
9550477
to
d030fe8
Compare
d030fe8
to
e503ced
Compare
e503ced
to
3ee4293
Compare
3ee4293
to
3fadef7
Compare
No description provided.