A bug? Replacing object in array vs modifying object. #2116
Unanswered
DontUseMyCode
asked this question in
Q&A
Replies: 1 comment
-
I'm not sure what you mean by works and doesn't work. Are you saying that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I do not understand the behavior of below component. If I replace the object inside the array, nothing happens. But If I modify the field of the object, then everything is as expected. This is really strange and smells like a bug. I posted this question on stack overflow, all I got was 2 downvotes and a comment saying : "This code works.". Well, not for me.
Beta Was this translation helpful? Give feedback.
All reactions