Navigate to a new path by using the browser's history API (pushState specifically).

  • Parameters

    • path: string

      The path to navigate to (excluding the base URL).

    • OptionalqueryParams: Record<string, unknown>

      The query parameters to add to the URL.

    Returns void