interop
interop copied to clipboard
Navigation API
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.
Tweet from a co-creator of React Router, the most popular frontend router.