An extensible virtual-dom library for PureScript.
Install with Spago:
spago install halogen-vdom
You can get started with halogen-vdom
with these resources:
- Read the guide.
- See the test example.
Halogen.VDom
is a bare-bones virtual-dom library for PureScript with inspiration drawn from:
- https://github.com/Matt-Esch/virtual-dom
- https://github.com/paldepind/snabbdom
- https://github.com/elm-lang/virtual-dom
Its goals include:
- Use as little FFI as possible.
- Be as fast as possible given (1).
- 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 newtype
d) by other frameworks to suit their needs.