#What is the tanstack way of doing loading? (Example: Next.js has loading.tsx)

6 messages · Page 1 of 1 (latest)

obtuse onyx
#

Is there a way i can add a loader to a specific road that does server-side loader?

tepid vector
#

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

obtuse onyx
#

aha thanks! 😄

#

Yeah, deferred loading 🙂

heavy pecan