Elmish-browser implements routing and navigation for Fable apps targeting web browsers.
For more information see the docs.
paket add Fable.Elmish.Browser
In addition to providing query parsing capabilities, this port from Elm/url-parser makes a few changes to the API:
format
has been renamedmap
Result
return type has been replaced withOption
parseHash
is already provided, just pass your parser as its arg- new
parsePath
works with entire url, not just the hash portion
If you've been using Result
type for other purposes, it is now available in F# 4.1 Core and is still available from Fable-PowerPack.