Keys that follow the item
Your task In the code box, change key={index} to key={item.id}, then sort the list and see the tick stay with its product. Then press Run my code.
Getting the editor ready
Your task In the code box, change key={index} to key={item.id}, then sort the list and see the tick stay with its product. Then press Run my code.
Getting the editor ready