title: trying to acces the key property passed to other component, but in the component it is passed
body: <p>I am in a component <code>TodoList</code> and rendering an component <code>TodoItem</code> in it. But i need to have access to the props that I've passed to the <code>TodoItem</code>, to set my state with the item clicked, for me to edit the task.</p>
  
  <pre><code>    onEdit = () =&gt; {
          this.setState({
              edit: true,
              create: false,
              selected: this.props.key
          });
  
      };
  
      const renderList = (
          list.map(item =&gt; (
              &lt;TodoItem onEdit={this.onEdit} onCompleted={this.onCompleted.bind(this)} key={item._id} title={item.title} completed={item.completed}/&gt;
          ))
      );
  </code></pre>