Sugan_Selvam
TTCTheo's Typesafe Cult
•Created by DangerZone on 6/27/2024 in #questions
Creaete T3 No Req or Res in TRPC context
No, Thats not required anymore for the TRPC context. May i ask where you are trying to find the auth? a sample path or code stub would be helpful to answer.
8 replies
TTCTheo's Typesafe Cult
•Created by DangerZone on 6/27/2024 in #questions
Creaete T3 No Req or Res in TRPC context
8 replies
TTCTheo's Typesafe Cult
•Created by derfcode on 3/20/2024 in #questions
Does anyone have experience with using Supabase and Prisma?
I followed supabase docs for prisma which worked perfectly fine for me
This was their docs : https://supabase.com/partners/integrations/prisma
4 replies
TTCTheo's Typesafe Cult
•Created by LukasGaeb on 3/21/2024 in #questions
Clerk Context in TRPC
7 replies
TTCTheo's Typesafe Cult
•Created by LukasGaeb on 3/21/2024 in #questions
Clerk Context in TRPC
Hi @LukasGaeb , I too had struggle when using the latest T3 app with clerk and this is the current change that I have now and works perfectly fine.
7 replies
TTCTheo's Typesafe Cult
•Created by Ali on 6/4/2023 in #questions
Best way to store heavily read/edited pdf files : mysql BLOB in db or store as files
We had similar use case in our project.
we started to face issue whenever multiple PDF were requested at same time.
Instead we used s3 to save all our pdf file and its referred url is saved in the DB and the pricing was also relatively cheaper.
4 replies
TTCTheo's Typesafe Cult
•Created by Sugan_Selvam on 6/3/2023 in #questions
Need clerk webhook example
@James Perkins , Thanks.
I was missing the ngrok. This docs helped me to fix it.
7 replies
TTCTheo's Typesafe Cult
•Created by Sugan_Selvam on 6/3/2023 in #questions
Need clerk webhook example
@whatplan (Rustular Devrel) this works locally ??
cos i used the code but somehow it not running
7 replies
TTCTheo's Typesafe Cult
•Created by gnarley_farley. on 5/14/2023 in #questions
Many queries when switching tabs
add this block inside
/utils/api.ts inside createTRPCNext
queryClientConfig: {
defaultOptions: {
queries: {
// refetchOnMount: false,
refetchOnWindowFocus: false,
},
},
},
Basically React-query by default, will trigger the fetch request every time browser window is switched and comes back. This should prevent it and only trigger based on your component's logic
8 replies
TTCTheo's Typesafe Cult
•Created by Sugan_Selvam on 4/20/2023 in #questions
Why is this re-rendering infinitely
@goldenretriever / @cje
I understand using useeffect is a bad idea, thats why I didnt add it in the code.
Any inputs on how do I use mutation on sign in itself ?
13 replies