订阅者函数签名,用于路由状态的更改

  • 参数

    • state: RouterState
    • opts: {
          deletedFetchers: string[];
          flushSync: boolean;
          viewTransitionOpts?: ViewTransitionOpts;
      }
      • deletedFetchers: string[]
      • flushSync: boolean
      • OptionalviewTransitionOpts?: ViewTransitionOpts

    返回 void