Race condition with beforeLoad and routerContext - TanStack