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
Hello
I noticed that when i use CloneDeep on objects that have a react element for example :
myObj = {
element: <div>i'm a react element</div>
}
The react element is ruined and you can't render this element any more, after console.log() the element before and after the clone i can clearly see that some changes are made to the object and its not really a "clone", this bug has forced me to not be able to use CloneDeep, i really appreciate an update for this library which fixes this issue, Here is an example showing this issue.
thanks.
The text was updated successfully, but these errors were encountered:
Hello
I noticed that when i use
CloneDeep
on objects that have a react element for example :The react element is ruined and you can't render this element any more, after console.log() the element before and after the clone i can clearly see that some changes are made to the object and its not really a "clone", this bug has forced me to not be able to use
CloneDeep
, i really appreciate an update for this library which fixes this issue,Here is an example showing this issue.
thanks.
The text was updated successfully, but these errors were encountered: