You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a huge array that I would like to put into a structure and get swap event when the whole array gets swapped. Because of a size of that array I'm no fan of converting it into an immutable data structure. Yet when an array gets swapped, omniscient's isEqualProps method checks only if it was a change of a cursor or a change in immutable data structure, totally disregarding the fact an array has been changed. Is such behaviour considered a bug?
The text was updated successfully, but these errors were encountered:
AFAIK, isEqualProps should check nested deep value check. See the documentation for lodash.isequal. But I'm not sure how it handles swapping in a large nested vanilla object in regards to keys. This might be a bug, tho, as I've never encountered this use case before. But it should support it, but I don't know how the key diff in the swap event should be handled.
I have a huge array that I would like to put into a structure and get
swap
event when the whole array gets swapped. Because of a size of that array I'm no fan of converting it into an immutable data structure. Yet when an array gets swapped,omniscient
'sisEqualProps
method checks only if it was a change of a cursor or a change in immutable data structure, totally disregarding the fact an array has been changed. Is such behaviour considered a bug?The text was updated successfully, but these errors were encountered: