TanStackT
TanStack8mo ago
2 replies
skinny-azure

Is it possible to access headers and the request context from the loader?

I want to access the value of some request headers so I can use them in the loader. What is the best way to do so?
(the equivalent in Next.js is this: https://nextjs.org/docs/app/api-reference/functions/headers)
Was this page helpful?