React Router API Reference
    Preparing search index...

    Interface DataRouter

    A Router instance manages all navigation and data loading/mutations

    interface DataRouter {
        resetFetcher(key: string, opts?: { reason?: unknown }): void;
    }
    Index

    Methods

    Methods

    • Internal

      PRIVATE - DO NOT USE

      Reset the fetcher for a given key

      Parameters

      • key: string
      • Optionalopts: { reason?: unknown }

      Returns void