Re:Removing User Interface Complexity, or Why React is Awesome
by grumblestumble on Wednesday May 14, 2014 @12:34AM
(#7742216)
I'd be interested to know what problems Angular has with SVG. I'm currently working on a fairly large SPA and am using SVG fairly extensively, both for simple stuff like icons and for more complicated things like document annotation. I haven't run into any problems thus far.
[ Parent
| on HN ]
Re:Removing User Interface Complexity, or Why React is Awesome
by camus2 on Wednesday May 14, 2014 @01:32AM
(#7742353)
doing something like
<my-svg-shape my-directive-that-mutate-svg-props />
doesnt work that well. Displaying SVG has never been a problem,they are like images. Unlike images they can be nested ,animated,modified at run time,scaled... if you think you can just create meta svg shapes with directives think again.
Re:Removing User Interface Complexity, or Why React is Awesome
by jonase on Wednesday May 14, 2014 @02:57AM
(#7742549)
I'm very interested in working with SVG in the browser and have found it to work pretty well with React. I built a demo (Code: https://github.com/jonase/elements, App: http://jonase.github.io/elements/) using one of the (increasing number of) React wrappers for ClojureScript (Chrome only for the moment I'm afraid)