CaptainStarz
TTCTheo's Typesafe Cult
•Created by kenny on 4/10/2023 in #questions
T3 app takes up too much RAM
How much ram do you have?
166 replies
TTCTheo's Typesafe Cult
•Created by Lopen on 2/5/2023 in #questions
t3 app doesn't work offline
Try changing network mode https://tanstack.com/query/v4/docs/react/guides/network-mode
4 replies
TTCTheo's Typesafe Cult
•Created by cyremur on 1/19/2023 in #questions
Can I zod this gamestate?
You can write schemas and infer types from them
6 replies
TTCTheo's Typesafe Cult
•Created by cyremur on 1/19/2023 in #questions
Can I zod this gamestate?
If you can write interfaces, you surely can write as many zod schemas
6 replies
TTCTheo's Typesafe Cult
•Created by Gabriel on 12/26/2022 in #questions
Why does typescript change the type of user whenever I add this to my return function?
Seems like you’re trying to access react query inside trpc router
89 replies
TTCTheo's Typesafe Cult
•Created by benten on 11/20/2022 in #questions
Help me type this function
7 replies
TTCTheo's Typesafe Cult
•Created by benten on 11/20/2022 in #questions
Help me type this function
7 replies
TTCTheo's Typesafe Cult
•Created by Froxx on 11/6/2022 in #questions
Handle specific tRPC errors centrally
13 replies
TTCTheo's Typesafe Cult
•Created by Roren on 10/21/2022 in #questions
TypeScript adoption at work
what are those good practices though? 🤔
66 replies
TTCTheo's Typesafe Cult
•Created by nexxel on 10/13/2022 in #questions
zod to check if string is only whitespaces
You could also .preprocess strings and trim them and that would trigger min(1) rule if specific error message doesn’t matter
18 replies
TTCTheo's Typesafe Cult
•Created by scatter on 9/18/2022 in #questions
nested push-or-create-array in zustand and immer
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_nullish_assignment probably will help
16 replies