#NavigationAPI is now baseline and it's so nice!

- No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
- handles scroll position
- ties in with the #ViewTransitionsAPI

https://web.dev/blog/baseline-navigation-api

#webdev #javascript #spa #mpa

Navigation API - a better way to navigate, is now Baseline Newly Available  |  Blog  |  web.dev

The Navigation API is now Baseline Newly available, providing a better way to handle navigation in single-page applications.

web.dev