I am trying to create a simple a TODO list app in ReactJS. My basics of React are not very clear so I am stuck here.
you can go with Alex Solution but you can also achieve the same thing by changing only two place like
var that=this; var createItem = function(item) { return {item.text}; }; return {this.props.items.map(createItem)};