#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

#Development #Explorations
The SPA vs. MPA debate · Two new browser APIs are set to change the debate https://ilo.im/1539wq

_____
#WebDev #Frontend #JavaScript #ViewTransitionsAPI #NavigationAPI #SPA #MPA

The View Transitions API, the Navigation API and the SPA vs MPA debate

Memory leaks, accessibility, core web vitals, paint holding, native browser loading spinners, Server Side Rendering, and more.