We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
here you use the index as a key
HP-game/src/components/whackAMole/whackAMole.js
Line 74 in 6236bf6
You shouldn't use indices as keys in react as it messes with the diffing.
Kent C Dodds explains it better than I can: https://egghead.io/lessons/react-use-the-key-prop-when-rendering-a-list-with-react
(ping me on gitter if you need the fac egghead login)
The text was updated successfully, but these errors were encountered:
iPhatty
No branches or pull requests
here you use the index as a key
HP-game/src/components/whackAMole/whackAMole.js
Line 74 in 6236bf6
You shouldn't use indices as keys in react as it messes with the diffing.
Kent C Dodds explains it better than I can: https://egghead.io/lessons/react-use-the-key-prop-when-rendering-a-list-with-react
(ping me on gitter if you need the fac egghead login)
The text was updated successfully, but these errors were encountered: