Closed rphlmr closed 8 months ago
Hey! nice stack dude!
Would you consider following the docs here https://supabase.com/docs/guides/auth/auth-helpers/remix and using the remix helper library for supabase? (not sure if this existed when you started)
Hey! nice stack dude!
Would you consider following the docs here https://supabase.com/docs/guides/auth/auth-helpers/remix and using the remix helper library for supabase? (not sure if this existed when you started)
Thanks 😇
I have one with only Supabase : https://github.com/rphlmr/supa-remix-stack but it is not up to date 😅
Awesome! i'll check it out - I also noticed your benchmarks around using RLS with Supabase... thats a real kicker 200ms delay is not nice.
Do you know if theres a way to avoid going through Gotrue with Supabase, I doubt it - but just wondering!
Really want to use RLS with managed Postgres, just exploring my options at the minute
Since this stack, I have built a SAAS project. Server-side, I don't use RLS. I use it front side to use RealTime on tables I want to react on change (for example: on a new mention in a comment, Realtime triggers a Remix revalidator.revalidate() to refresh the notification counter). RLS here helps me to only react if the logged user is concerned.
I plan to make a new stack around Supabase, with Drizzle ORM (faster than Prisma, true SQL) and Realtime 🫢
I’ll try to use RLS server side in pure SQL when I have time. If I found something reliable, I’ll ping you ;)
@rphlmr I appreciate that! I'll have a look into it myself in the mean time
Discussed in https://github.com/rphlmr/supa-fly-stack/discussions/66