naive example of todo app with react, made by just barely skimming docs