Prototyped react version of todo