birch
birch
TTCTheo's Typesafe Cult
Created by bythewayitsjosh on 6/23/2024 in #questions
trpc with Server Actions
yes, the query is performed on the client side
6 replies
TTCTheo's Typesafe Cult
Created by bythewayitsjosh on 6/23/2024 in #questions
trpc with Server Actions
i think mutations can be operated through the server, no server action is needed
6 replies
TTCTheo's Typesafe Cult
Created by Nils on 6/23/2024 in #questions
Replacing Context with Data Access Layer
First set up a default rendered page, then use mutations to update the currently selected team and fetch the corresponding data from the database. Additionally, set up loading components and Suspense for better user experience.
10 replies
TTCTheo's Typesafe Cult
Created by birch on 1/10/2024 in #questions
trpc refetchinterval
thank you for your reminder, realize I wrote redundant code
10 replies
TTCTheo's Typesafe Cult
Created by birch on 1/10/2024 in #questions
trpc refetchinterval
the data returned for the first time will be undefined.
10 replies
TTCTheo's Typesafe Cult
Created by birch on 1/10/2024 in #questions
trpc refetchinterval
that useEffect
10 replies
TTCTheo's Typesafe Cult
Created by birch on 1/10/2024 in #questions
trpc refetchinterval
Is there room for optimization in implementing it this way?
10 replies
TTCTheo's Typesafe Cult
Created by birch on 1/10/2024 in #questions
trpc refetchinterval
No description
10 replies