Hi Guys, 2 questions please. 1. I’m using NextJs ...
# javascript
d
Hi Guys, 2 questions please. 1. I’m using NextJs and all the tutorials online are fetching and manipulating data on client side, even validating user auth, is this the right approach (considering it’s used on the official todo example on supabase docs) 2. I’m already using tailwind NextJs, but I like the Auth component from supabase ui and how easy it is to implement, is adding supabase ui a good practice after I fully installed tailwind ? In terms of bundle size and speeds. I only want certain components and not the full ui experience Thank you 🙏🏽
b
for ssr frameworks auth is usually done with cookies, there are examples from the supabase guide https://github.com/supabase/supabase/tree/master/examples/nextjs-with-supabase-auth
as for the ui component, i'm not sure about the bundle size, but it is using tailwind too. its great for fast development, you can just use that for now to get things running, then decide whether or not to make a custom component