rgrempel / elm-route-url

Router for single-page-apps in Elm
http://package.elm-lang.org/packages/rgrempel/elm-route-url/latest
MIT License
196 stars 16 forks source link

Question about Location in init #39

Open Mousaka opened 5 years ago

Mousaka commented 5 years ago

Question

Is it possible to start a RouteUrl.programWithFlags app but with an init that receives Location?

It seems like it isn't possible and it's a bit inconvenient to have to wait for the first LocationChanged msg.

Mousaka commented 5 years ago

In the documentation there is this function for creating an app that gets Location in the init but this app does not have the delta2url function which we still need. I need both. Is that possible?