Prabhath
Prabhath
Explore posts from servers
TTCTheo's Typesafe Cult
Created by shiv on 6/7/2023 in #questions
next/font fonts won't load
Can you give more detailed explanation, I am also facing the same issue, can't understand the solution here
7 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/27/2023 in #questions
Any good suggestions for storing user images, for supporting max 10k images for the whole website.
Or using directly an S3 bucket.
3 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/8/2023 in #questions
Any suggestions for good resources to learn about refactoring react applications
I prefer books and blogs than courses, please suggest if there are any great courses..
3 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
and then NonNullable<RouterOutputs['abc']['def']>['someMember']
9 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
type NonNullable<T> = Exclude<T, null | undefined>; // Remove null and undefined
9 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
Yeah that worked
9 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
Property 'subProperty' does not exist on type '(MainProperty & { subProperty: SubProperty[]; }) | null | undefined'
9 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
I get the following error when i do this
9 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/5/2023 in #questions
Can anyone share how to infer type of class member of trpcresponse
for the member in childTable, I have used include to fetch the child object, now i am not able to get the type of object of the child table
9 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/4/2023 in #questions
Can anyone share an example trpc mutation based onSubmit values from a form
Thanks, for sharing this. I started using react-hook-form , it looks very clean now..
7 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/4/2023 in #questions
can anyone share an example on how to set react-query options with trpc like refetchInterval
This worked for me thanks a lot for checking this out barry.
3 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/4/2023 in #questions
Can anyone share an example trpc mutation based onSubmit values from a form
It will be really helpful, if any one can share an example, thanks for checking this
7 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/4/2023 in #questions
Can anyone share an example trpc mutation based onSubmit values from a form
7 replies
TTCTheo's Typesafe Cult
Created by Prabhath on 1/4/2023 in #questions
Can anyone share an example trpc mutation based onSubmit values from a form
similar thing works for creating a new row in table
7 replies