mpal9000 / elm-arch-with-snabbdom

Elm architecture examples with JavaScript/JSX using Snabbdom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elm architecture examples with JavaScript/JSX using

  • Snabbdom : A small and modular Virtual DOM library
  • Snabbdom-jsx: a tiny library for writing Snabbdom Virtual DOM using JSX syntax
  • union-type: to represent Component Actions

##Setup

  • Clone the repository then run npm install.
  • npm run {example} to run the specified example

##Examples

The repository contains some examples

  • counter: a simple increment/decrement counter
  • counterList: List of the precedent counter example
  • login: Demonstrates Asynchronous Actions in a single component
  • admin: Demonstrates Asynchronous Actions in nested component hierarchies (need fix)

About

Elm architecture examples with JavaScript/JSX using Snabbdom

License:MIT License