LoginSignup
2
3

More than 5 years have passed since last update.

Elmでの仮想DOMを体験する

Posted at

サンプルのToDoリストを作成してみます。

$ git clone https://github.com/evancz/elm-todomvc
$ cd elm-todomvc
$ npm i elm -g
$ elm-make Todo.elm --output elm.js
$ open index.html 

速いです。あと、ソースであるTodo.elmを見る限りでは割りとシンプルです、400行。そして、出力されるelm.jsは8000行にも及びます。

./elm-stuffを使うことで再利用も簡単になると思われます。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3