docs: function useRoutes(createHistory) {
    warning(
      false,
      '`useRoutes` is deprecated. Please use `createTransitionManager` instead.'
    )
  
    return function ({ routes, ...options } = {}) {
      const history = useQueries(createHistory)(options)
      const transitionManager = createTransitionManager(history, routes)
      return { ...history, ...transitionManager }
    }
  }