T
TanStack15mo ago
national-gold

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
optimistic-gold
optimistic-gold15mo 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?