In Elm 0.18, we have the elm-lang/navigation package.
In my current Elm-app, I’ve used the setup explained in elm-navigation-example to use the Navigation package to handle routing.
However, upgrading this to the 0.19 approach is not straightforward, so now I have some questions:
The Navigation.Location type is gone, what to use instead? Browser has both Key and UrlRequest, so I don’t think there is a 1:1 mapping.
I used to parse the URL using the UrlParser that the package exposed, but this module no longer exists. What to use instead?
Before, my Main.main implementation was a Navigation.program. Do I now use Browser.application or something else?