Modern Web cover image

Building the TanStack with Tanner Linsley

Modern Web

00:00

Router: A Route-Based Component

The router has a loader option, very much like remix or get server-side props from Next. The difference here is that this loader does not execute on the server. Most of what you see executes on the client or isomorphically during SSR. And then so we're actually awaiting in this loader, it's asynchronous. So we're telling our route to wait for that to load until it's done so we can render our component.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app