interop icon indicating copy to clipboard operation
interop copied to clipboard

Navigation API

Open o-t-w opened this issue 5 months ago • 2 comments

Description

The Navigation API makes it easier for single page apps to handle navigation and updates to the URL. A modern and much improved alternative to the History API.

It cannot be polyfilled and cannot be used as a progressive enhancement - meaning cross-browser support is crucial.

Specification

https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api

Additional Signals

Supported in Chrome and Edge since version 102.

Positive standards position from Safari and Firefox.

Firefox Bug Safari Bug

Tweet from a co-creator of React Router, the most popular frontend router.

o-t-w avatar Sep 17 '24 20:09 o-t-w