Hex Core JS
    Preparing search index...

    Function useLocation

    • Provides the current history location object.

      Type Parameters

      • T

      Returns {
          hash: string;
          isInitial: boolean;
          isMount: boolean;
          key?: string;
          pathname: string;
          search: string;
          state: T | undefined;
      }

      T The type of the location's state.