T
TanStack12mo ago
correct-apricot

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?
No description
No description
No description
1 Reply
harsh-harlequin
harsh-harlequin12mo ago
please provide a complete minimal example, e.e.g by forking one of the existing examples on stackblitz

Did you find this page helpful?