Router context and beforeLoad race condition - TanStack