Re:What the Flux?
by rdoherty on Tuesday January 27, 2015 @12:50PM
(#8954513)
Slightly off-topic, but I hear about all these awesome new JS frameworks for tying events and server data to HTML, but what if your app renders nearly everything to Canvas? I don't need any HTML generation or templates, I just need a solid events and high-level layouts.
[ Parent
| on HN ]
AFAIK, Netflix actually wrote a React "Virtual DOM" => OpenGL renderer. You don't necessarily have to map the Virtual DOM to a real DOM.
http://conf.reactjs.com/schedule.html#beyond-the-dom-how-net...
Re:What the Flux?
by chadpaulson on Tuesday January 27, 2015 @12:55PM
(#8954541)
Valid question. React is actually a UI library, not a framework, and is suited to work with multiple view "backends" including canvas. https://facebook.github.io/react/blog/2013/06/05/why-react.h...
react-three [1] is a great example of using React to control something other than 'standard HTML'.