Introduction
Keys help React keep track of items in a list. They make updates faster and avoid bugs.
When rendering a list of items like a list of names or products.
When items in a list can be added, removed, or reordered.
When you want React to update only changed items, not the whole list.