Subscriber function signature for changes to router state

  • Parameters

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

    Returns void