-
-
Notifications
You must be signed in to change notification settings - Fork 634
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
Babel plugin / Inferno fails with rendering SVG #31
Comments
@Havunen Can you try to render it without JSX and see if it throws so we now if it's the plugin causing this, or something in the core. |
It appears to be an issue with the core Babel JSX plugin when it encounters |
Ah, so the issues is this:
So Babel does not support namespaced tags. |
As per React: I'll get |
Everything is fixed and should work out of the box now with the compiled build on the dev branch. @trueadm If still issues, just leave me a msg on Skype. I will read it later on. |
Really quick reply guys! |
Great work guys! It seems to work in dev branch. Closing this issue. |
Inferno babel plugin 0.2.5 or Inferno 0.4.0 is failing when there is component with SVG inside.
Exception is thrown:
Expected result:
It should render SVG element with use element refering to error id.
React has solved it this way: http://stackoverflow.com/questions/26815738/svg-use-tag-and-reactjs
Havunen
The text was updated successfully, but these errors were encountered: