Hi there!! Thank you for the video it was really nice.. I’ve setup supabase/srr on my Remix js app. The createBroswerClient and createServerClient works!! But I still don’t understand the concept between when to use the Broswer Client or the Server Client.. I know that when it’s for front-end is the Broswer Client but I think I would need a real life example to understand both. Anyone can help me?
Hi for example when you have a stock or e-commerce application where you need real time data you use the browser client to fetch periodically. On the other hand when you have an application that shows blog posts that are not changing that often you use the server client to fetch them and make use of the SEO benefits
Should we use SSR just for auth related stuff? Because their copy-paste clients have cookies so it disables cache
As far as I know the SSR package is only Auth related and it's package that provides you Auth functionality for client and server side
Hi there!! Thank you for the video it was really nice.. I’ve setup supabase/srr on my Remix js app. The createBroswerClient and createServerClient works!!
But I still don’t understand the concept between when to use the Broswer Client or the Server Client.. I know that when it’s for front-end is the Broswer Client but I think I would need a real life example to understand both. Anyone can help me?
Hi for example when you have a stock or e-commerce application where you need real time data you use the browser client to fetch periodically.
On the other hand when you have an application that shows blog posts that are not changing that often you use the server client to fetch them and make use of the SEO benefits