Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TheCoreh
on May 4, 2017
|
parent
|
context
|
favorite
| on:
SVG2JSX – Convert SVG to Valid React SVG
You have to escape some portions, like CSS, (otherwise { and } will be interpreted as JS expression interpolation) remove xml namespaces, `class` also needs to be renamed to `className`, among other tweaks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: