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.Browser

Routing

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.run

For more information see the routing tutorial.

Manipulate the browser's navigation and history.

Usage:

open Elmish.Navigation

let update model msg =
    model, Navigation.newUrl "some_other_location"