Understand the Supabase SSR Package easily
activenode activenode
2.31K subscribers
12,175 views
526

 Published On Nov 26, 2023

Sure, you can read the docs - but aren't you confused about it? Get a full-fledged, detailed explanation which removes all future barriers.

About the info Box in the video:
I use the same Client for Server Components, Route Handlers and Server Actions with NextJS App Router without the differentiating in set/remove;
Because: I want to make sure that Server Components are not misused and hence if Supabase tries to set a cookie in a Server Component I want an error to be thrown instead of covering it up ✌️

https://github.com/activenode-edu/sup...

00:00 Intro
01:13 Getting to know the new package
02:22 createBrowserClient
04:38 createServerClient framework-independent Explanation
07:56 createServerClient for AppRouter Backends
11:12 createServerClient for AppRouter middleware and PagesRouter Backend

show more

Share/Embed