next.js
c3bf7352 - Chore: refactor to use server actions in with-supabase example (#57858)

Commit
2 years ago
Chore: refactor to use server actions in with-supabase example (#57858) ### What? [1] Use Server Actions for auth [2] Use Geist font [3] Address warning about `metadataBase` in console ### Why? [1] The co-location of Login page and authentication logic is simpler for beginners [2] Looks nice [3] Avoid confusing people with the starter template printing warnings ### How? [1] Refactor Route Handlers to Server Actions [2] Install font and set to `html` [3] Explicitly declare the default value for `metadataBaseUrl`
Author
Parents
Loading