Loaders
A loader is a handler that's used to load data for a route's page.
Loader data is injected into rendered page templates and accessed via the data object. In the most cases, the loader is the get handler for the route. A different handler can be designated using the @handler decorator:
@handler("get", loader=True)
def my_loader(request):
...