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

Data: Log which keys fail shallow equality when 'useSelect' displays a warning #63608

Closed
Mamaduka opened this issue Jul 16, 2024 · 0 comments · Fixed by #67713
Closed

Data: Log which keys fail shallow equality when 'useSelect' displays a warning #63608

Mamaduka opened this issue Jul 16, 2024 · 0 comments · Fixed by #67713
Assignees
Labels
[Package] Data /packages/data [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@Mamaduka
Copy link
Member

Source #53666 (comment).

Logging which keys actually fail the shallow equality check would me much more useful. When there are two non-identical objects that contain identical data (e.g., from two calls of a non-memoized selector), looking at them in the console doesn't help, because they look the same.

@Mamaduka Mamaduka added [Type] Enhancement A suggestion for improvement. [Package] Data /packages/data labels Jul 16, 2024
@Mamaduka Mamaduka self-assigned this Jul 16, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Data /packages/data [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant