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
|1 month ago|
|docs||1 year ago|
|outwatch-router/src||1 month ago|
|project||1 month ago|
|.gitignore||1 month ago|
|.scalafmt.conf||1 month ago|
|.travis.yml||1 year ago|
|README.md||1 year ago|
|build.sbt||1 month 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.