NotLuksus
Explore posts from serversTTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/10/2024 in #questions
trpc/react not working on AWS
Or switch it to the non streaming variant
28 replies
TTCTheo's Typesafe Cult
•Created by shikishikichangchang on 4/10/2024 in #questions
trpc/react not working on AWS
Ran into a similar issues a while ago make sure to enable streaming on your lambda as the trpc client is batchLinkStreaming I believe
28 replies
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/7/2023 in #questions
Use @monaco-editor/react as a tsx editor
Yeah I figured it out, basically what you need todo is fetch the react types and add them to your monaco editor by creating a new model in the react folder named index.d.ts and inside there save the @types/react index.d.ts
8 replies
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/18/2023 in #questions
Errors while running mutations when deploying CT3A using SST
hmmm im pretty sure you just need to enable streaming on your lambda
13 replies
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/18/2023 in #questions
Errors while running mutations when deploying CT3A using SST
Are you using sst?
13 replies
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/18/2023 in #questions
Errors while running mutations when deploying CT3A using SST
you can read about it here: https://trpc.io/docs/client/links/httpBatchStreamLink
The batch links in trpc are so that instead of having to sent 10 requests to the server it only needs to sent 1.
Streaming means that the responses don't come back all at once when they finished, but start streaming in over time, so if 1 of the requests is really fast it doesnt have to wait for the others to finish
13 replies
TTCTheo's Typesafe Cult
•Created by Circus on 11/27/2023 in #questions
Clerk Webhooks with Prisma (Sync database, user model)
The webhook isn't called by a user but from clerks servers, any redirects should happen for the client that makes these calls
30 replies
TTCTheo's Typesafe Cult
•Created by ibby on 12/19/2023 in #questions
nextjs how to render serverside and then update data client-side based on a filter?
yeah query params might be the easiest here, for the checkbox you can just use something like ?filter=true no?
3 replies