The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.


The best way to pick a key is to use a string that uniquely identifies a list item among its siblings. Most often you would use IDs from your data as keys
Spread syntax (…) allows an iterable such as an array expression or string to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where zero or more key-value pairs (for object literals) are expected.




it increase the count of people that has the same name if the person allow the change
We can use props in ReactJs to make the child inherit properties from its parent component.