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

Unwrapped multiple tags in jsx silently generates different thing #34

Closed
mcheshkov opened this issue Apr 23, 2016 · 1 comment
Closed
Labels
Milestone

Comments

@mcheshkov
Copy link

jsx('<div>foo</div><div>bar</div>') generates return React.createElement("div",null,"foo");
React's jsx fails with SyntaxError: embedded: Adjacent JSX elements must be wrapped in an enclosing tag

elsassph pushed a commit that referenced this issue Apr 23, 2016
@elsassph
Copy link
Contributor

Alright, Haxe's XML parser supports multiple roots; now raising an error as expected.

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

No branches or pull requests

2 participants