render() { return ( // using a arrow function get the looping item and it's index (i) this.state.data.map((item, i) => { <li key={i}>Test</li> }) ); }