Combining tRPC and Nextjs13 Suspense

Hi there Did somebody succeed using Nextjs 13 App Routing Suspense features, like loading.tsx and tRPC? So far, tRPC returns isLoading or isFetching (please don't discuss this point, they're just handfull flags for such generic question). By using these flags we can manually return Loading UI components, but I don't see the way combining tRPC and Suspense react's component. Nor with the loading.tsx server component *. * I tried with experimental useSuspenseQuery on a page.tsx file and I could detect the loading.tsx content, but it seemed that the query was cached and therefore it no longer appeared after refreshing the page. Any clue?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server