📅  最后修改于: 2022-03-11 15:04:25.333000             🧑  作者: Mango
/*
The key prop has a special meaning in React. It it is not passed to the component as prop but is used by React to aid the reconciliation of collections.
It allows React to associate the elements of the previous tree with the elements of the next tree.
It's good that you have a key (and you need one if you pass an array of elements), but if you want to pass that value along to the component, you should another prop:
*/