Replies: 1 comment 2 replies
-
This video might be of help. https://youtu.be/6c8kuvBolQg?si=G5nsGz9zPBGs_Gvu |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I am trying to move from tanstack router to tanstack start but I very quickly came across a roadblock on how to inject authentication (which was recived with a hook) into the routers context
e.g this is how I would have done it in tanstack router
https://github.com/nekochan0122/tanstack-authentication/blob/main/csr-basic-auth/src/app.tsx#L19
With tanstack start I want some way to also wrap the client in some provider that calls a react hook
I attempted something like this
But then I realized that would cause issues with the SSR side as thats abstracted away in some
I think i might be missing a bit point here, I cant seem to fully wrap around how this framework works, any advice would be helpful
Beta Was this translation helpful? Give feedback.
All reactions