cant copy jsx.element in object
mezhanglei opened this issue · comments
mezhanglei commented
for example:
const a = {b: 1, c: <span>dom</span>
}
const clone = klona(a);
...
error info: var k, tmp, str=Object.prototype.toString.call(x); // Maximum call stack size exceeded
Max Milton commented
Can you please provide a sample of the compiled output code? JSX is essentially a templating language and there are various transpilers which output completely different results.