TanStackT
TanStack16mo ago
1 reply
worthy-azure

How to use context data in a loader

Hi, I'm confused about using data from the useAuth hook that returns the userId. How do I use it in the loader where the userId is already in the context?
CleanShot_2024-09-30_at_19.24.142x.png
CleanShot_2024-09-30_at_19.24.322x.png
CleanShot_2024-09-30_at_19.24.472x.png
Was this page helpful?