Using React.js to draw dynamic SVGs

added by Robert Greyling
10/23/2014 4:15:02 PM


Up to now, everything that I've built has been nothing more than a wrapper around an existing SVG element. This is all well and good, but that's not the reason you would build SVG images like this. The reason is that you want to build something interactive, and use React to model the interactive elements' state in a rational way.


Drew Peterson
10/23/2014 5:59:34 PM
Would this be a good method to use with user input, for instance, in a sketching app? Or would a traditional canvas implementation be better?