DogPawHat
Explore posts from serversTTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
I strongly recommend you reproduce this in a Stackblitz if you can, it would help a tone
15 replies
TTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
The fetching data in trpc context sounds wierd, do you mean in a middleware?
15 replies
TTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
Rsc and React Query/trpc require some extra steps to play nice
15 replies
TTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
15 replies
TTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
I'd read over https://trpc.io/docs/client/react/server-components
15 replies
TTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
You able to share the project?
15 replies
TTCTheo's Typesafe Cult
•Created by feldrok on 2/14/2025 in #questions
Upgrading to Next 15, infinite refetching, no cache?
App or pages router?
15 replies
CCConvex Community
•Created by DogPawHat on 11/25/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks version
fetchQuery
will throw, so will ensureQueryData
if there's no cached data and it called fetchQuery
13 replies
CCConvex Community
•Created by DogPawHat on 11/25/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks version
prefetchQuery
both returns no data (it's return type is Promise<void>
) and it catches errors.13 replies
CCConvex Community
•Created by DogPawHat on 11/25/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks version
There's a comment here on
fetchQuery
vs prefetchQuery
https://discord.com/channels/719702312431386674/1003327027849474198/131378086343081987113 replies
CCConvex Community
•Created by DogPawHat on 11/25/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks version
Nice. I've been trying to go deep on the loaders in router and start (I've a rough video demo of my own here https://discord.com/channels/1019350475847499849/1312052455055298610) but it's definitely a bit more complex. I might still be tweak in and then figure out a way to use Motion to animate the transition between routes
13 replies
CCConvex Community
•Created by DogPawHat on 11/29/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks - Now with Turbo and video!
Can't fix it right now as I'm away with family for the weekend. Does it work on desktop at least?
7 replies
CCConvex Community
•Created by DogPawHat on 11/29/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks - Now with Turbo and video!
LOC: 1083 Typescript lines, 1117 total with
cloc . --exclude-dir=node_modules,.vercel,.vinxi,.git --exclude-ext=json,svg,yaml,txt --vcs git
7 replies
CCConvex Community
•Created by DogPawHat on 11/25/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks version
Maybe once I've turbo it up.
13 replies
TTCTheo's Typesafe Cult
•Created by Anish on 11/25/2024 in #questions
Trpc with nextjs 15
You can also use trpc quite well with React Router and Tanstack Start if your not married to RSCs
6 replies
TTCTheo's Typesafe Cult
•Created by Anish on 11/25/2024 in #questions
Trpc with nextjs 15
Now RSCs themselves solve a lot of typesafe query problems, so as an alternative, just give the RSC the data server side and use https://next-safe-action.dev/ for mutationing actions
6 replies
TTCTheo's Typesafe Cult
•Created by Anish on 11/25/2024 in #questions
Trpc with nextjs 15
And this https://trpc.io/blog/trpc-actions
6 replies
TTCTheo's Typesafe Cult
•Created by Anish on 11/25/2024 in #questions
Trpc with nextjs 15
If you like trpc you can go ahead with using it on app router. Worth reading this I think https://trpc.io/docs/client/react/server-components
6 replies
CCConvex Community
•Created by DogPawHat on 11/25/2024 in #show-and-tell
Tanstack Start/Convex 1app6stacks version
Yeah thanks for your work on the query integration. I'll be using it as a playground for silly optimization for a bit I think
13 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
You can ask on the Tanstack discord and see if dominick or tanner has a good answer
29 replies