Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

给map生成的JSXElement添加key属性 #34

Open
AsukaSong opened this issue Mar 5, 2018 · 0 comments
Open

给map生成的JSXElement添加key属性 #34

AsukaSong opened this issue Mar 5, 2018 · 0 comments
Assignees
Labels
BUG 治愈强迫症 致力于解决代码中的逼死强迫症问题

Comments

@AsukaSong
Copy link
Contributor

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

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

qq 20180305212903

@AsukaSong AsukaSong added the BUG label Mar 5, 2018
@AsukaSong AsukaSong added the 治愈强迫症 致力于解决代码中的逼死强迫症问题 label Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG 治愈强迫症 致力于解决代码中的逼死强迫症问题
Projects
None yet
Development

No branches or pull requests

4 participants