kitlangton / formula   0.2.1

Apache License 2.0 Website GitHub

Form Combinator Library for decimating frontend boilerplate.

Scala versions: 2.13
Scala.js versions: 1.x

🧪 Formula

Release Artifacts Snapshot Artifacts

Derive functional, reactive, Laminar forms at compile-time with this type-safe, composable form combinator library.

// build.sbt
libraryDependencies += "io.github.kitlangton" %%% "formula" % "x.y.z"

Resources

This project originally started as an example of using Magnolia with Scala.js. While the internals has shifted substantially since the recording, the original video is still available, Deriving the Frontend.

Running Locally

  1. sbt ~fastLinkJS in another tab.
  2. yarn install
  3. yarn exec vite
  4. open http://localhost:3000