History

The History action set allows you to use the JavaScript History API to modify the top-level browser URL without navigating. Use the History action set to update the top-level browser URL to match your app.

You can use the history action in the following ways:

  1. Plain JavaScript
  2. React hook

On this page