this is a nice solution but it just works for “static” data.
the route callback gets just eveluated once. so you have no chance to update the data that is served in the callback
this is a nice solution but it just works for “static” data.
the route callback gets just eveluated once. so you have no chance to update the data that is served in the callback