What would be the best way to render out the todos object when that object is updated? I\'ve tried mapping through it, but it returns nothing with errors.
render
If you want the arrow function to return a value use () instead of {}
()
{}
{this.state.todos.map((td, index) => ( {td.name} {td.date} ))