.traevelliath
.traevelliath
TtRPC
Created by Thimo_o on 8/26/2023 in #❓-help
How do I setup App router + TRPC + Lucia Auth? (protected routes)
Why? Look how protected procedures were implemented by Theo, for example, in his Chirp guide. And do the same.
7 replies
TtRPC
Created by Thimo_o on 8/26/2023 in #❓-help
How do I setup App router + TRPC + Lucia Auth? (protected routes)
7 replies
TtRPC
Created by toadmilk on 7/4/2023 in #❓-help
problem with useContext (likely easy fix)
It's actually pretty simple to fix: just move trpcUtils declaration outside of a function. You should probalby get the desired data inside a component and pass it as a prop.
3 replies
TtRPC
Created by schlabach on 6/23/2023 in #❓-help
Prefetch on useContext() is not being picked up by react-query.
6 replies
TtRPC
Created by schlabach on 6/23/2023 in #❓-help
Prefetch on useContext() is not being picked up by react-query.
Isn’t the point of prefetch to be called inside getServerSideProps? Then you can get the data from the client by using getData().
6 replies