Skip to content

purescript-halogen/purescript-halogen-vdom

Repository files navigation

purescript-halogen-vdom

Latest release Build status Pursuit

An extensible virtual-dom library for PureScript.

Installation

Install with Spago:

spago install halogen-vdom

Quick Start

You can get started with halogen-vdom with these resources:

Overview

Halogen.VDom is a bare-bones virtual-dom library for PureScript with inspiration drawn from:

Its goals include:

  1. Use as little FFI as possible.
  2. Be as fast as possible given (1).
  3. Be extensible.

Notably, Halogen.VDom is largely useless out of the box. You'll need to bring your own attributes, properties, and event listeners (though there is a working implementation included). It is intended to be extended (and likely newtyped) by other frameworks to suit their needs.