Updated version to 0.0.10 Updated ScalaTest to 3.2.2 Updated scala version to 2.13.4 Updated scala.js version to 1.1.0 Updated to outwatch version to commit 676f94a Added dependency to outwatch-utils Updated scala.js bundler to 0.20.0 Updated sbt-microsites to 1.1.2 Removed obsolete scalac arguments Updated Router class itself - Now generic over effect type instead of being hardcoded to cats.effect.IO - Uses colibri.Observable instead of monix.Observable - Added history events listener to update dom on back/forward button press |
||
---|---|---|
docs | ||
outwatch-router/src | ||
project | ||
.gitignore | ||
.scalafmt.conf | ||
.travis.yml | ||
build.sbt | ||
README.md |
outwatch-router

Easy routing for outwatch on scala.js
Most of this code is adapted from http4s's route parsing and path pattern matching.
Add to library dependencies:
"com.clovellytech" %%% "outwatch-router" % "0.0.7"
See documentation
This router is also demonstrated at outwatch-examples.
Todo:
- Work on documentation, provide example of links