What a Data Router/Loader is and why you need it!
In the last year we've seen a shift in react-router
and @tanstack-router
towards the idea of a "Data Router" or "Loader" which allows you to strongly tie your data fetching directly to your router. There are some benefits and drawbacks to this approach, but overall if it's done well it can result in a very measurable improvement to user experience.