Client-side data fetching supabaseauth-helpers-nextjs only gets data after navigating internally
I've implemented a client-side request inside useEffect() per the documentation (https://github.com/supabase/auth-helpers/blob/main/packages/nextjs/README.md#client-side-data-fetching-with-rls), and it works great when navigating inside the app, but if I load the page directly, it fails to return any data. There's no error though, it just returns an empty array. I've checked that the user object is present, but somehow, it still always returns an empty set instead of the expected set of objects.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.