Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joelgrus/todo-cycle-js

a less-than-full-featured, less-than-beautiful todo app in cycle.js
https://github.com/joelgrus/todo-cycle-js

Last synced: about 2 months ago
JSON representation

a less-than-full-featured, less-than-beautiful todo app in cycle.js

Awesome Lists containing this project

README

        

# todos in cycle.js

A simple todomvc-style app built using Cycle.js (and Immutable.js).
Not intended to look good (or to meet the actual todomvc spec), just to get
the basic design and functionality correct. (And to play more with cycle, which
I'm still really enjoying.)

It should be relatively straightforward, the only really "cute" thing I did
was to use the Immutable.List indices as `data-todo-id` elements, which made it
dead simple to implement "delete" and "toggle completed".

(Originally I didn't use Immutable, but about halfway through I realized it
would make the code a *lot* simpler.)