v5 shallow
cares about set order.
#2808
Unanswered
lakardion
asked this question in
Bug report
Replies: 1 comment 14 replies
-
@lakardion thanks, I'll take care of that |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Description
Hello there. I was just playing around with this and noticed that the new shallow returns
false
for two sets that have the same elements inside.Created two sandboxes as well to showcase that the previous version was returning
true
v4 shallow:
https://codesandbox.io/p/sandbox/m8lkgp
v5 shallow
https://codesandbox.io/p/sandbox/shallow-check-zustand-zkjy77
Reproduction Link
https://codesandbox.io/p/sandbox/shallow-check-zustand-zkjy77
Beta Was this translation helpful? Give feedback.
All reactions