is there a way to make something like a loader function that wraps every route? __roots loader only loads on hard refresh