2 ms·
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 everythin
by rdoherty 12y ago
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.
- chadpaulson 12y agoValid 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.html https://facebook.github.io/react/blog/2013/06/05/why-react.h...
- iamsaul 12y agoreact-three [1] is a great example of using React to control something other than 'standard HTML'. [1] https://github.com/Izzimach/react-three https://github.com/Izzimach/react-three
- bengotow 12y agoAFAIK, 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-netflix-plans-to-enhance-your-television-experience http://conf.reactjs.com/schedule.html#beyond-the-dom-how-net...