Great article man,
Have faced this issue plenty of times and have ended with different solutions every time :( and i still don't understand why object.assign() doesn't work
Hey,
Yes you would expect by now the Object.assign would be a deepClone, OR that JavaScript by now would have a perfect DeepClone function build in!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article man,
Have faced this issue plenty of times and have ended with different solutions every time :( and i still don't understand why object.assign() doesn't work
Hey,
Yes you would expect by now the Object.assign would be a deepClone, OR that JavaScript by now would have a perfect DeepClone function build in!