https://github.com/elmish/sample-react-navigation
https://github.com/elmish/sample-react-navigation
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/elmish/sample-react-navigation
- Owner: elmish
- License: other
- Created: 2017-04-15T19:13:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T12:46:49.000Z (about 1 year ago)
- Last Synced: 2024-06-17T14:15:28.301Z (about 1 year ago)
- Language: F#
- Size: 3.44 MB
- Stars: 5
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Handling browser navigation implemented in F# and targeting Fable.
This is a navigation sample ported from Elm.
In addition to `init`, `update`, `view` functions it introduces `hashParser` and `urlUpdate` to handle browser navigation events.For more information about it see [the docs](https://fable-elmish.github.io/browser).
Pre-built SPA is available at https://elmish.github.io/sample-react-navigation.## Building and running the sample
Pre-requisites:
* .NET Core [SDK 5.*](https://docs.microsoft.com/en-us/dotnet/core/install/sdk)
* `yarn` installed as a global `npm` or a platform package and available in the pathTo build locally and start the webpack-devserver:
* once: `dotnet tool restore`
* `dotnet fake build -t Watch`open [localhost:8090](http://localhost:8090)