If the key is an index, reordering an item in the array changes it. Then React will get confused and re-render the incorrect element. Keys do not have to be ...
確定! 回上一頁