June 2018
— Figured it out and thanks 😎 Used map on array and used JSON.stringify on all objects. Did same with object I was using to compare with and boom done. Is it good approach?
Message permanent page
It'll work as long as you only have JSON like objects (Only primitive values, no functions, symbols, etc)
— Right 😁 and thanks for sharing that algo damn sure will need it someday ❤️
— :)
— Something wrong with the arch, if you find that deep compare required, imo. rare use case.
— Oh shit.. well, lodash is inevitably tested more
— Yep
— Sure? i thought you adore such things)
— Object diffing? No
— Expensive imo
— And unneccessary for most things
— Probably even for this case