

Then handle it as another case of update where you call fromUrl and switchPage. And add an event listener for location changes, tag it in a Msg case like LocationChanged and dispatch it.

Pass the location into app init to handle it there. MVU libraries have built-in integration for this.

