update react implement

pull from https://github.com/tastejs/todomvc/tree/master/examples/react