Replies: 1 comment 1 reply
-
This is a bit tricky. Do you need the state of the array before any changes are made? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys.
I would like to be able to detect the modifications that happens when an array is updated using the array methods like
splice
,pop
and so on. This methods mutates the actual array and I'm struggling to be able to detect this changes in the interception of themarkModify
function through a proxy, because as this functions mutate the array, the current value and the "new" value are the same, so any delta can be detected.Do you have any idea on how this could be achieved?
Beta Was this translation helpful? Give feedback.
All reactions