spreen_co
subscription: Cannot use 'in' operator to search for 'enabled' in undefined
node_modules/.pnpm/@trpc+tanstack-react-query@11.0.1_@tanstack+react-query@5.71.0_react@19.1.0__@trpc+clie_acde9ae0fea49fdc035d62a8c18c34ef/node_modules/@trpc/tanstack-react-query/dist/internals/subscriptionOptions.mjs (10:34)
is reported in the stack, which does contain
7 replies
Migrating pages router to app router
it appears there's a new tanstack react-query-next-experimental package which turns every query into a server-side prefetched query (with await) while allowing you to opt out of waiting for a query to load by adding a suspense boundary between those components
48 replies
Migrating pages router to app router
maybe if my app was written with app router from scratch I might be able to leverage the full server-side approach properly, but I feel like even then there would be plenty of gotchas between having to use different ways to call trpc from the server vs from the client
48 replies
Migrating pages router to app router
Okay, after reading https://tanstack.com/query/latest/docs/framework/react/guides/advanced-ssr#prefetching-and-dehydrating-data I'm now 100% convinced that the trpc docs get it wrong
48 replies