TtRPC
Search Answer OverflowLogin
T
tRPC

Does trpc (t3 stack) disable ssr from Nextjs?

Does trpc (t3 stack) disable ssr from Nextjs?

BBaboluo
View on Discord
6/10/2023
Or is the ssr just not applied to the api
BBaboluo
View on Discord
6/10/2023
ssr/ssg/caching whatever adds a lot of complexity that is hard to reason about, really sucks tbh

Looking for more? Join the community!

T
tRPC

Does trpc (t3 stack) disable ssr from Nextjs?

Join Server
T
tRPC

Does trpc (t3 stack) disable ssr from Nextjs?

Join Server
Recommended Posts
Getting data as "any"For some reason, probably after update I started getting following issue. My router is no longer typWhat is error formatingI understand error handeling but what is error formating , found it in trcp docs have'nt seen that twhere does opts.path and opts.type came from ? i guess by default it only stores ctx ,next and input```ts const loggerMiddleware = middleware(async (opts) => { const start = Date.now();   const rePassing objects to the next() function of the middle ware```ts // ------------------------------------------------- // @filename: context.ts // -------------opts object passed to mutation , i can not understand where it came from```ts export const authorizedProcedure = publicProcedure .input(z.object({ townName: z.string() })How do I log thrown errors from the query/ mutation on the server side globally?I was surprised to find that the server servicing tRPC requests do not log any thrown errors from a
Powered by