score:1

Accepted answer
data.map((data, index) => 
  <li 
    key={ index }
    onClick={ e => handleClick(e, index) }
  >{ data }</li>
)

Related Query

More Query from same tag