Passing context from beforeLoad to loader
Hello all,
I am having trouble with passing extra context parameters down from
beforeLoad
to my loader
function. See the code snippet below:
When I navigate one more time in my app, context.session
is available. Does anyone know how?
Some more information: I am using Supabase Authentication and these are my authenticated routes. In the loader, I need to do a call to my own backend to get information on the user by using the access_token
1 Reply
extended-salmon•7mo ago
can you provide a complete minimal example by forking on of the existing examples on stackblitz and mocking out supabase?