Route middleware function signature. Receives the same "data" arguments as a
loader/action (request, params, context) as the first parameter and
a next function as the second parameter which will call downstream handlers
and then complete middlewares from the bottom-up
Route middleware function signature. Receives the same "data" arguments as a
loader/action(request,params,context) as the first parameter and anextfunction as the second parameter which will call downstream handlers and then complete middlewares from the bottom-up