
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