News for hackers. Stuff that matters.
Re:Show HN: React 0.12 renders to Web Components by rictic on Friday November 07, 2014 @12:09PM (#8573508)
This seems cool, but I'm a bit confused (background: I've been working with web components and polymer for the past couple of months, but have only read a couple articles on React, apologies if this is a dumb question).

This says that react renders to web components, but it looks to me like react is just adding a web component to the area of the DOM that it's controlling. Is more going on here? e.g. doing the same thing with jquery:

    $('<core-icon>').attr('src', "//www.polymer-project.org/images/icons/android.svg").appendTo('#jquery-root');
Is the idea that React is doing data binding to the src attribute?
Re:Show HN: React 0.12 renders to Web Components by OlavHN on Friday November 07, 2014 @01:26PM (#8573892)
Before it was hard coded what HTML elements react would represent in its virtual DOM. With 0.12 thats no longer the case, so it can now also render to custom elements. So now it might be possible to define fancy UI elements in web components and then keep state and structure with React.