Question 1 out of 20

    What is the purpose of keys in React?

    To identify elements in a list of items

    Keys are used in React to identify each item in a list, allowing for efficient updates when the order or number of items in the list is changed.