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

Bug: duplication #32221

Open
Mohamedahmedalsayed opened this issue Jan 24, 2025 · 0 comments
Open

Bug: duplication #32221

Mohamedahmedalsayed opened this issue Jan 24, 2025 · 0 comments
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@Mohamedahmedalsayed
Copy link

React version:

Steps To Reproduce

  1. Create a react commponents that uses objects key as Map or Set
  2. re-render the commponents multi times
  3. observe the behavior of the Map or Set
  4. check for data access or updates due to objects duplication

Link to code example:

https://www.reddit.com/r/reactjs/comments/120q19b/using_map_to_remove_duplicates_from_an_array_of/?rdt=57160

The current behavior

is duplicate data

The expected behavior

that data be unique

@Mohamedahmedalsayed Mohamedahmedalsayed added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant