Hacker News new | ask | show | jobs
by tonetheman 3339 days ago
I thought parens around any SVG would make it valid JSX.
1 comments

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.