I'm making a simple To Do list in React and even though I have a key property, I am still getting the error "Each child in a list should have a unique "key" prop.".
Here is my JSX:
 <div className="list">
          <ul>
          {updatedList.map((item, index) => {
            return (
            <div>
              <li key={index}>{item}</li><button>delete</button>
            </div>
            )
          })}
          </ul>
        </div>
Is the index of my updatedList not enough for a key value? How would I go about appending something like "li_ + {index}" to each key?  
 
     
     
     
     
     
    