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
|4 months ago|
|docs||2 years ago|
|outwatch-router/src||4 months ago|
|project||4 months ago|
|.gitignore||4 months ago|
|.scalafmt.conf||4 months ago|
|.travis.yml||1 year ago|
|README.md||1 year ago|
|build.sbt||4 months ago|
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"
This router is also demonstrated at outwatch-examples.