-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Each child in an array or iterator should have a unique "key" prop. #44
Comments
I'm fix in my pull request: #45 |
@FelipeBarrosCruz thanks ! But can you explain why it worked before and why this error happened |
I added a comment here https://github.com/learncodeacademy/react-js-tutorials/blob/master/5-redux-react/src/js/actions/tweetsActions.js Since we load "tweets" from rest.learncode.academy where anyone can update data, sometimes people post bad data that breaks the app...just change the user namespace to something unique and post your own data. |
The unique key isn't a fatal error, just a warning that performance will be slow without a unique key for each item |
@willrstern thanks ! |
I'm new to React js and wanted to run 5-redux-react code. But when I clicked Load tweets button, nothing happened and below error on console:
Each child in an array or iterator should have a unique "key" prop. Check the render method of Layout. See https://fb.me/react-warning-keys for more information.
The text was updated successfully, but these errors were encountered: