T
tRPC
Change Theme
Search Answer Overflow
Login
Nick
Posts
Comments
T
tRPC
•
Created by arashi-dev on 3/29/2025 in
#❓-help
swagger to trpc-like interface generator?
Some can even generate react query hooks
4 replies
T
tRPC
•
Created by arashi-dev on 3/29/2025 in
#❓-help
swagger to trpc-like interface generator?
There are loads of tools out there
4 replies
T
tRPC
•
Created by arashi-dev on 3/29/2025 in
#❓-help
swagger to trpc-like interface generator?
You want any kind of OpenAPI client codegen
4 replies
T
tRPC
•
Created by Arxk on 3/27/2025 in
#❓-help
Sending FormData does not work at all
What does your code look like when submitting the data?
17 replies
T
tRPC
•
Created by Arxk on 3/27/2025 in
#❓-help
Sending FormData does not work at all
What link setup are you using?
17 replies
T
tRPC
•
Created by Arxk on 3/27/2025 in
#❓-help
Sending FormData does not work at all
Your setup must not be exactly the same then
17 replies
T
tRPC
•
Created by Mika on 3/27/2025 in
#❓-help
v11 crash, bug in trpc?
Are you able to put together a minimal repro and open an issue?
5 replies
T
tRPC
•
Created by avvo on 3/22/2025 in
#❓-help
tRPC Monorepo w/ Package Path Aliases
Takes a bit of configuration typically but yeah you can do it
8 replies
T
tRPC
•
Created by avvo on 3/22/2025 in
#❓-help
tRPC Monorepo w/ Package Path Aliases
I use absolute imports all the time at work
8 replies
T
tRPC
•
Created by avvo on 3/22/2025 in
#❓-help
tRPC Monorepo w/ Package Path Aliases
Path aliases are a build system question, tRPC doesn’t care so long as your typescript and bundler setup is correct
8 replies
T
tRPC
•
Created by neoney on 3/14/2025 in
#❓-help
state change not triggering refetch
But what about the setter for that state?
6 replies
T
tRPC
•
Created by neoney on 3/14/2025 in
#❓-help
state change not triggering refetch
Check you’re not mutating that variable, if the reference stays stable it may not trigger a refetch
6 replies
T
tRPC
•
Created by tyler4949 on 3/9/2025 in
#❓-help
Creating Service Layer in Next App Router
I really don't know much about nextjs/rcs or t3 at all tbh
11 replies
T
tRPC
•
Created by vpjm on 3/11/2025 in
#❓-help
Private chat with TRPC
That’s generally what you have to do, and would be the same anywhere. There may be some clever patterns using middlewares but they’d just tidy up your code and if your knowledge isn’t there I wouldn’t worry
3 replies
T
tRPC
•
Created by NotZelda on 3/13/2025 in
#❓-help
What are the best practices for keeping TRPC and ts-server fast?
https://discord.com/channels/867764511159091230/1343948018377953360
this might be interesting
6 replies
T
tRPC
•
Created by NotZelda on 3/13/2025 in
#❓-help
What are the best practices for keeping TRPC and ts-server fast?
Keep Zod types to very simple types (not omit/exclude/extend shenanigans) Also don’t overuse output validators as they’re rarely needed
6 replies
T
tRPC
•
Created by ToP on 3/9/2025 in
#❓-help
Cannot set headers after they are sent to the client
I wouldn't recommend trying to interact with headers directly but I understand some apps might need it
7 replies
T
tRPC
•
Created by ToP on 3/9/2025 in
#❓-help
Cannot set headers after they are sent to the client
while you're not using the streaming batch link tRPC batching could interact with setting headers in part of the batch
7 replies
T
tRPC
•
Created by ToP on 3/9/2025 in
#❓-help
Cannot set headers after they are sent to the client
I wonder if it could be related in some way to the batch link
7 replies
T
tRPC
•
Created by Thomas on 3/6/2025 in
#❓-help
tRPC useQuery waits for all queries—How to render ASAP?
Sure you don't have a single suspense query which runs longest of all?
7 replies