Initiating navigations with the Navigation API

Graphic with headline “Initiating navigations with the Navigation API”, showing code snippets and the site name “olliewilliams.xyz”, alongside a circular portrait.

Ollie Williams explains navigation.navigate(), reload(), back(), forward(), and traverseTo() methods, how to guard with canGoBack and canGoForward, and when to use push vs replace, echoing Ahmad Alfy’s take on URLs as state. Also, entry state, info, plus committed and finished promises for intercepted navigations.

olliewilliams.xyz/blog/initiating-navigations-with-the-navigation-api