Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant copy jsx.element in object #36

Open
mezhanglei opened this issue Jun 6, 2022 · 1 comment
Open

cant copy jsx.element in object #36

mezhanglei opened this issue Jun 6, 2022 · 1 comment

Comments

@mezhanglei
Copy link

mezhanglei commented Jun 6, 2022

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

@maxmilton
Copy link

maxmilton commented Jun 10, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants