component / reactive

Tiny reactive template engine
382 stars 48 forks source link

svg support? #143

Closed kvnneff closed 10 years ago

kvnneff commented 10 years ago

not sure if SVG elements are outside the scope of this project but if not I've added a few attributes to get started

defunctzombie commented 10 years ago

Hm. Hadn't really thought about it. Did you find adding these useful? I wonder if using the .use to extend reactive to svg support would be a better approach than trying to bake in every possible attribute.

kvnneff commented 10 years ago

I'm coming from ractive.js which has full svg support, making it easy to render dynamic data visualizations. Some things about ractive frustrated me so I switched to reactive without researching svg support and found myself with a better template engine but no way to render the application I was working on for my company.

To be honest I only needed the support for this one project and only for a couple elements. You're probably right that a plugin would be better, which can be included in a project when necessary.