• Preparing search index...
  • The search index is not available
React Router API Reference
  • React Router API Reference
  • react-router
  • UNSAFE_createBrowserHistory

Function UNSAFE_createBrowserHistory

  • UNSAFE_createBrowserHistory(options?): BrowserHistory
  • Browser history stores the location in regular URLs. This is the standard for most web apps, but it requires some configuration on the server to ensure you serve the same app at multiple URLs.

    Parameters

    • options: UrlHistoryOptions = {}

    Returns BrowserHistory

    See

    https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory

    • Defined in packages/react-router/lib/router/history.ts:359

Settings

Member Visibility
React Router API Reference
  • Loading...

Generated using TypeDoc