Laurens Lavaert
Laurens Lavaert
TtRPC
Created by Laurens Lavaert on 6/24/2024 in #❓-help
TRPCClientError prior to the request being sent (v11, App Router)
No description
3 replies
TtRPC
Created by Laurens Lavaert on 3/15/2024 in #❓-help
Typescript optimisation
No description
31 replies
TtRPC
Created by Laurens Lavaert on 11/3/2023 in #❓-help
Stop initial refetch when prefetched with SSG helpers
Anyone else struggling with this, I want to maintain refetching when the tab is refocused but don't want to "double" fetch on the initial page render. const helpers = createProxySSGHelpers({ router: appRouter, }); helpers.something.something.prefetch({}) Results into double queries when doing api.something.something.useQuery({}) afterwards in your frontend
2 replies
TtRPC
Created by Laurens Lavaert on 10/10/2023 in #❓-help
Decreasing autocomplete performance
Anyone else suffering from increased latency (mostly on the front-end) when doing autocomplete with T3 stack? How did you solve it, seperate root routers? More routers (some of mine are >1k lines)?
3 replies