TanStackT
TanStack10mo ago
16 replies
moderate-tomato

Headers missing on initial load from server

Anybody else seen cases where on the initial load of the app when calling a server function in loaders the headers are not complete, particularly things like cookies and auth headers. It seems on initial load my auth headers are missing, but then as soon as I navigate around or even just clicking try again button on the on the client it works fine.
Was this page helpful?