#What is the tanstack way of doing loading? (Example: Next.js has loading.tsx)
6 messages · Page 1 of 1 (latest)
are you looking for deferred loading?
you can use Await or just React.use. this will suspend your route component and then should cause the pending component to be rendered
Yeah, use pending component: https://tanstack.com/router/latest/docs/framework/react/api/router/RouteOptionsType#pendingcomponent-property