Package

purescript-jelly

Repository
yukikurage/purescript-jelly
License
MIT
Uploaded by
yukikurage
Published on
2022-05-25T15:42:08Z

Jelly は非常に軽量な Web Application Framework です。

Jelly is a very lightweight Web Application Framework.

仮想 DOM を用いていませんが、状態が更新された箇所のみを再描画できる仕組みを持っています。

It does not use a virtual DOM, but has a mechanism that allows redrawing only where the state has been updated.

リアクティビティに似ていますが、とても簡単にされていて、逆に言うとそれほど抽象化はされていません。

It is similar to reactivity, but made very simple and, conversely, not so abstract.

これは Web UI を組む際にそれほど抽象化は必要ないと判断したからです。

This is because I decided that I don't need such abstraction when we build a Web UI.

Installation

This package is not in package-sets, so add following to packages.dhall

...
let upstream = ...
in  upstream
  with jelly =
    { dependencies =
      [ "effect"
      , "foldable-traversable"
      , "maybe"
      , "prelude"
      , "refs"
      , "safely"
      , "strings"
      , "tailrec"
      , "transformers"
      , "tuples"
      , "unfoldable"
      , "web-dom"
      , "web-events"
      , "web-html"
      ]
    , repo =
        "https://github.com/yukikurage/purescript-jelly"
    , version =
        "v0.2.0"
    }
...

and run spago install jelly (or npx spago install jelly)

Example

In Preparation