Skip to content

Conversation

@aasthag-14
Copy link

Key is missing in the array map code which is causing repeated thumbnails when page is changed.

Keys help React identify which items have changed, are added, or are removed. Keys should be given to the elements inside the array to give the elements a stable identity

Reference https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key

Key is missing in the array map code which is causing repeated thumbnails when page is changed.

Keys help React identify which items have changed, are added, or are removed. Keys should be given to the elements inside the array to give the elements a stable identity

Reference https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key
@aasthag-14 aasthag-14 requested a review from a team as a code owner December 8, 2023 09:28
@aasthag-14
Copy link
Author

@erikpena please help to review this

@aasthag-14
Copy link
Author

@alexdechaves
@sevbauer
@tbobkermux
Please help to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants