theScottyJam/snap.js

Replace `_.cloneDeep()` with `structuredClone()`

LukeStanbery89 opened this issue · 3 comments

Lodash's cloneDeep function can be replaced by structuredClone.

Thanks for the suggestion - I'll get a page put together explaining structuredClone().

I added an entry for cloneDeep in 5995db1 and pushed the changes live. You can view the page here: https://thescottyjam.github.io/snap.js/#!/nolodash/cloneDeep

I'll go ahead and close this, but feel free to re-open (or open a new ticket) if you have any additional feedback.

Great work! 😄