oof2win2
oof2win2
Explore posts from servers
TTCTheo's Typesafe Cult
Created by oof2win2 on 5/26/2023 in #questions
Send revalidated data alongside mutation in tRPC
thanks 👍
12 replies
TTCTheo's Typesafe Cult
Created by oof2win2 on 5/26/2023 in #questions
Send revalidated data alongside mutation in tRPC
yeah manual cache management isnt what i want tbh
12 replies
TTCTheo's Typesafe Cult
Created by oof2win2 on 5/26/2023 in #questions
Send revalidated data alongside mutation in tRPC
like realistically a user shouldn't have more than say ~1s delay at most from mutating to getting the new data back but i mean if i could reduce that it would be nice
12 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
20 replies
TTCTheo's Typesafe Cult
Created by RevengeTime on 5/26/2023 in #questions
Fetching data directly from prisma
everything you are doing there is safe as you are using getServerSideProps. Besides, Prisma would throw an error if you tried fetching in the clientside as it would not be instantaniated on the client
6 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
not cache invalidation (which they dont have yet) but caching of the values themselves
20 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
personally had issues with caching tho
20 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
well you can set it up manually from the example that the trpc team already has
20 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
waiting for upstream support of trpc for appdir and for their example to be out of experimental, possibly next-auth as well
20 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
at least not yet
20 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
20 replies
TTCTheo's Typesafe Cult
Created by DNA on 5/26/2023 in #questions
T3 and App Directory
it doesnt
20 replies