fearlessslug
fearlessslug
TtRPC
Created by fearlessslug on 5/11/2023 in #❓-help
Tutorial for setting up tRPC with Next13 app dir?
Anyone has a goos tutorial (blogpost / YouTube) on setting up tRPC with Next13 app dir for both client components as well as server components? I have tried for the entire day and couldn't find a way to make it work... :/
3 replies
TtRPC
Created by fearlessslug on 5/11/2023 in #❓-help
Is it possible to dynamically change the url of httpBatchLink in runtime?
I need to do it because I have 2 domians that share the same NextJS project and I need to be able to point tRPC to the right domain depending on the one the user is currently browsing from
16 replies
TtRPC
Created by fearlessslug on 5/11/2023 in #❓-help
Security question about tRCP
If I export the tRCP router as type in order to import that type in my client JS, wouldn't it mean the entire backend code of my tRCP router would leak to the client file?
4 replies