Piotrek
Piotrek
Explore posts from servers
TTCTheo's Typesafe Cult
Created by JulieCezar on 7/31/2023 in #questions
T3 or App router?
I'm still going with T3 cause of trpc - having the ability to middleware everything (including actions) in one place and not worry about different API actions/database calls and their Auth is too good there
4 replies
TTCTheo's Typesafe Cult
Created by Piotrek on 3/10/2023 in #questions
CLI and web UI communication
Thanks!
3 replies
TTCTheo's Typesafe Cult
Created by oa on 3/10/2023 in #questions
trpc global onError
check this out 😄
3 replies
TTCTheo's Typesafe Cult
Created by Lopen on 2/13/2023 in #questions
why are people not using t3 stack on production?
There's definitely no trouble when it comes to using it in prod
13 replies
TTCTheo's Typesafe Cult
Created by Lopen on 2/13/2023 in #questions
why are people not using t3 stack on production?
Maybe not from the beginning but at least its parts
13 replies
TTCTheo's Typesafe Cult
Created by Lopen on 2/13/2023 in #questions
why are people not using t3 stack on production?
Also, there's project called cal.com that also uses t3
13 replies
TTCTheo's Typesafe Cult
Created by Lopen on 2/13/2023 in #questions
why are people not using t3 stack on production?
People use it in production - see this in docs: https://create.t3.gg/en/t3-collection#companies-using-the-t3-stack
13 replies
TTCTheo's Typesafe Cult
Created by nickparks on 2/8/2023 in #questions
Handling undefined errors on TRPC dependent queries
That seems like a nice idea for a ts improvement for react query... 🤔
5 replies
TTCTheo's Typesafe Cult
Created by nickparks on 2/8/2023 in #questions
Handling undefined errors on TRPC dependent queries
You're using the enabled property correctly, the thing is typescript does not know about it on the params level. You have to use product!.productSize
5 replies
TTCTheo's Typesafe Cult
Created by arete on 2/5/2023 in #questions
register limited people
I've never used it, put some console.log and test it for yourself - that's the best method imo haha
18 replies
TTCTheo's Typesafe Cult
Created by arete on 2/5/2023 in #questions
register limited people
Or use the createUser event
18 replies
TTCTheo's Typesafe Cult
Created by arete on 2/5/2023 in #questions
register limited people
Yeah, probably
18 replies