Anton Kosykh
Anton Kosykh
Strange thing. I'll check it on weekends (sry for this delay).
Wait, there is an old version of `nanoclone` The new one has more smart object clone strategy, try it out, maybe it works: https://github.com/Kelin2025/nanoclone/blob/master/src/index.js#L50-L60
https://unpkg.com/[email protected]/index.js 🤔
I see that `nanomerge` uses 0.1.5 https://github.com/nikolay-govorov/nanomerge/blob/master/package.json#L12
Stop. What version are you using there? https://github.com/Kelin2025/nanoclone/issues/10#issuecomment-408577799
Have you tried to clone Firebase store with this package? https://www.npmjs.com/package/clone
Maybe it happens because of `Object.create()` on [this line](https://github.com/Kelin2025/nanoclone/blob/master/src/index.js#L52) ? Will it work with: ``` const clone = {} /* ... */ Object.setPrototypeOf(clone, src.prototype); ``` ?
I do it, but not all of them are merged
Also **refactoring/something** for refactoring ('cause it differs from fix)
> For example, throw in mapParams will cause the effect-wrapper to fail This behavior, to be honest, seems a bit odd to me. When do we need to `throw` from...