Paco
Paco
TTCTheo's Typesafe Cult
Created by deforestor on 2/8/2024 in #questions
Ways to purposely cause latency with T3? (For test purposes)
Add in some middleware that awaits some task like await new Promise((resolve) => setTimeout(resolve, 1000)); You could replace your current definitions for publicProcedure and protectedProcedure temporarily or only do this if a specific env var is set https://trpc.io/docs/server/middlewares
4 replies
TTCTheo's Typesafe Cult
Created by Domcario on 12/27/2023 in #questions
in a t3 project, do i use trpc for 3rd party APIs?
Have you tried restarting your TS language server after installing the packages? It can get stuck and not recognize the new types
6 replies
TTCTheo's Typesafe Cult
Created by sommeeeR on 9/21/2023 in #questions
T3-stack SSG
IIRC SSG was covered in that 3hr tutorial Theo did, timestamp: https://youtu.be/YkOSUVzOAA4?si=uiG4CNEGzAoYaBVh&t=7560 Not sure if this is outdated info but hope it helps
6 replies
TTCTheo's Typesafe Cult
Created by darief on 9/8/2023 in #questions
Cron jobs fetching gmail emails every 10 minutes
Any particular reason to use the API instead of something like POP3 or IMAP? That way you can support email providers outside of Gmail and they're standard interfaces for email clients
4 replies