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
if you call a function and pass an object containing a date as an argument, the function will not work correctly
console.log(deepCopy({ a: new Date() }));
{ a: new Date() } => { a: {} }
The text was updated successfully, but these errors were encountered:
Yes, in this case library supports only primitives, as it's hard to support each case, we could switch to native structuredClone when it will have broader support
zerobias
changed the title
function deepCopy cannot copy dates
Effector-vue supports only primitive types
Sep 19, 2023
effector/src/vue/lib/deepCopy.ts
Line 6 in e10fb7d
if you call a function and pass an object containing a date as an argument, the function will not work correctly
console.log(deepCopy({ a: new Date() }));
{ a: new Date() } => { a: {} }
The text was updated successfully, but these errors were encountered: