Lucifier129 / react-lite

An implementation of React v15.x that optimizes for small script size
MIT License
1.73k stars 98 forks source link

SVG elements not showing #29

Closed cezary closed 8 years ago

cezary commented 8 years ago

When using react-icons, it appears svg elements lose attribute styles. This is is a screenshot in a working dev environment screen shot 2016-02-07 at 4 13 25 pm

and a screenshot of a production build using react-lite where the svg does not show screen shot 2016-02-07 at 4 13 27 pm

One thing I noticed is the attributes lose their camel case in the dom. I tested a production build using react and svg elements display normally. Any help to get svgs showing would be appreciated!

albertogasparin commented 8 years ago

+1, SVG also breaks when using d3.js

Lucifier129 commented 8 years ago

Thanks for feedback, will try to resolve it as soon as possible: -)

Lucifier129 commented 8 years ago

Hi guys, react-lite now support showing svg element, see demos at REAMME:-)

mindreframer commented 8 years ago

@Lucifier129 wow! That looks really awesome! This was my major blocker to use react-lite, now this seems to be a real alternative for production! Thx a lot!

cezary commented 8 years ago

SVGs are working now, thanks @Lucifier129! :+1: