Thomas
Explore posts from serversBABetter Auth
•Created by Thomas on 3/9/2025 in #help
How to add json field in user model ?
I would like to add a user preferences as JSON field in my user model, is it possible ?
2 replies
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