Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JavaScript can write SVG just like it writes HTML. Your React render() can return <svg><rect ... /></svg> as easily as <div><p>...</p></div>


Yep, svg + react = declarative graphics. I love it. I used it to replace D3 in a project I worked on last year and no regrets at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: