I have just started with Angular couple of weeks ago. In Vue and React we always use a unique key when we render an array of elements, for a more efficient rendering, specially when the elements and order or amount of them changes it's useful. Therefore create-react-app or Vue CLI would always yell at you if you forget assigning the key property on elements.
But why there's no such warning or error in Angular? And how angular manages to render a list and changes on it without a key property on list elements efficiently?
Key in Vue's v-for : https://vuejs.org/guide/essentials/list.html#maintaining-state-with-key
Keys in React's map: https://reactjs.org/docs/lists-and-keys.html#keys
[...]
In short, you don't necessarily need it. If you know your object identities will change and superfluous rendering is going to happen, then you can provide your own
trackByfunction and decide for yourself when an element should be re-rendered.I got the quotes from this documentation link.