With React and JSX, I like where the things are headed. I don't think we're far from having reusable SVG components, allowing to express high-level visualizations pretty easily.
Given the tendency... I've also recently experimented with using React to draw to canvas, using an engaging image editor as an example (demo, sources, post on how it works), and I really love how React provides us a baseline to implement, reason about, and use pieces of UI, regardless of where they render — be it native mobile, terminal, canvas, and more.
Technically — nothing. I guess it's more of a mindset shift. Like only now people are coming to appreciate reusable UI elements in HTML, but I agree that it'll spread to SVG and all sorts of other components.
4
u/goshakkk R Jul 18 '16
Some great thought here, Joel!
With React and JSX, I like where the things are headed. I don't think we're far from having reusable SVG components, allowing to express high-level visualizations pretty easily.
Given the tendency... I've also recently experimented with using React to draw to canvas, using an engaging image editor as an example (demo, sources, post on how it works), and I really love how React provides us a baseline to implement, reason about, and use pieces of UI, regardless of where they render — be it native mobile, terminal, canvas, and more.