Now that I know that parenthesis are required to return an object literal in ES6 rather than execute the codeblock, is the following code from the same React Introduction page doing the same in the return statement? Specifically .map(item => ()) - notice the use of parenthesis and not curly braces. Thank you
class TodoList extends React.Component { render() { return (
-
{this.props.items.map(item => (
{item.text}
))}