Create the TanStack Query client used by the application.
Server state (backend API data) is handled exclusively through TanStack
Query. A new client is created per application instance so that tests can
create isolated clients.
The operational UI should surface API failures quickly instead of silently
retrying for a long time, so queries retry only once before they are
reported as failed.
Create the TanStack Query client used by the application.
Server state (backend API data) is handled exclusively through TanStack Query. A new client is created per application instance so that tests can create isolated clients.
The operational UI should surface API failures quickly instead of silently retrying for a long time, so queries retry only once before they are reported as failed.