
Building the TanStack with Tanner Linsley
Modern Web
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.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.