Thomas
tRPC useQuery waits for all queries—How to render ASAP?
I have a dashboard with multiple components, each making its own useQuery call. The problem: It waits for all queries to load before rendering anything, instead of displaying data as soon as it's ready.
🔹 Setup:
- trpc.createClient with httpBatchLink
- Each component has its own independent useQuery()
- No Promise.all(), no global Suspense
7 replies