We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
xmlns:xlink
xlink:href
xlinkHref
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
I just used the html to jsx converter.
In the example of
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#next-remove" />
It should remove the xmlns:xlink entirely, and replace xlink:href to xlinkHref.
Thoughts
The text was updated successfully, but these errors were encountered:
Is that actually HTML? <use> isn't a HTML tag.
<use>
Sorry, something went wrong.
It's used within <svg>. Unsure how it should be treated. Support for xlinkHref exists in jsx.
<svg>
Reference: http://stackoverflow.com/a/32994814/2152076
xmlnsXlink is now supported in the React docs, so it probably shouldn't be eliminated. https://facebook.github.io/react/docs/dom-elements.html
xmlnsXlink
Probably a better option is just to handle namespaced attributes by camelCasing them and eliminating the colon, since that's invalid JSX.
No branches or pull requests
I just used the html to jsx converter.
In the example of
It should remove the
xmlns:xlink
entirely, and replacexlink:href
toxlinkHref
.Thoughts
The text was updated successfully, but these errors were encountered: