Following the react todomvc tutorial here: http://facebook.github.io/react/docs/flux-todo-list.html