Routing and navigation for browser apps
This library builds on elmish-urlParser to handle browser address changes and manipulate browser history directly.
Installation
dotnet add package Fable.Elmish.BrowserRouting
Intercept browser address changes and feed them into the dispatch loop.
Usage:
open Elmish.Navigation
Program.mkProgram init update view
|> Program.toNavigable parser urlUpdate
|> Program.runFor more information see the routing tutorial.
Navigation
Manipulate the browser's navigation and history.
Usage:
open Elmish.Navigation
let update model msg =
model, Navigation.newUrl "some_other_location"