TanStackT
TanStack10mo ago
11 replies
worthy-azure

Loader called twice on the server, cause = "enter" and "stay"

Is it intended that the loader is called twice for a very minimal setup? Queries are deduplicated using tanstack query in my setup, but for instance I have a server function outside tanstack query that is being called twice.

The loader is called twice on the server with cause = "enter" first and then "stay"?
Was this page helpful?