Browser-native deep object cloning in JS is finally here, and it's awesome
structuredClone() can:
copy deeply nested data
handle many data types like Map/Set/Regex/etc
even handle circular references
Performance is great as well ⚡️
Watch video Use structuredClone() in JS for fast and flexible deep object copies in JS online without registration, duration hours minute second in high quality. This video was added by user Steve (Builder.io) 10 May 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,209 once and liked it 869 people.