mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? [1] Refactors `with-supabase` example to use new `@supabase/ssr` package [2] Makes landing page dynamic steps to connect Next.js to Supabase [3] Fixes a range of small bugs ### Why? [1] Simplifies creating a Supabase client [2] People were not understanding how to connect this template to Supabase [3] People don't like bugs ### How? [1] Declares a separate `createClient` function for client and server. Client version is used in Client Components, server version is used every where else - Server Components, Route Handlers, Server Actions, Middleware [2] Makes landing page a dynamic list of next steps to guide the user to success [3] Writing code to squash the bugs!
283 KiB
1200x600px
283 KiB
1200x600px