react-flux-router
Initially, this code was ripped almost directly from react-flux examples/routing/Router.hs:
See react-flux on hackage for more details:
Various changes will be made to support integration into my ln-ui frontend i'm working on. For example, I am waiting on a potential PR from web-routes that i'd like to incorporate into this.
rant
Not sure why this isn't in an existing repository by itself. It's the best router i've seen so far, which targets ghcjs. Odd.
special thanks
Special thanks to John Lenz. react-flux is amazing, check it out: https://hackage.haskell.org/package/react-flux
what's in it?
src/React/Flux/Router/WebRoutes - React.Flux.Router.WebRoutes
- route parsing based on the web-routes package
build
stack build
tests
stack test
clean
stack clean