TanStackT
TanStack2mo ago
10 replies
sad-indigo

Root auth function called many times

Hey there!

I have a fetchAuth function in the root component that keeps getting called. Here's the file: https://github.com/catalinpit/learn-platform/blob/060465fc100e53cd035b02016d92a59218cb9e75/apps/client/src/routes/__root.tsx

Am I doing something wrong?
Screenshot_2025-11-26_at_20.13.09.png
Was this page helpful?