How to use getStaticPaths and getStaticProps with new Supabase auth helpers
Can anyone provide an example of how to use NextJS getStaticPaths and getStaticProps with the new
@supabase/auth-helpers-react
@supabase/auth-helpers-react
and
@supabase/auth-helpers-nextjs
@supabase/auth-helpers-nextjs
packages. Every time I try and get it to work myself I end up with useContext errors as the useSupabaseClient() hook is being called outside of the main function.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.