Forum icon indicating copy to clipboard operation
Forum copied to clipboard

给map生成的JSXElement添加key属性

Open AsukaSong opened this issue 6 years ago • 0 comments

之前樱桃也说过,理由参见 https://reactjs.org/docs/lists-and-keys.html#keys

同时可以避免类似于下图的错误,治愈强迫症

qq 20180305212903

AsukaSong avatar Mar 05 '18 13:03 AsukaSong