4 ms·
My question as a Java/Swing developper is this: what is the difference between React and Web Components? As far as I understand, both create self-contained comp
by lolive 9y ago
My question as a Java/Swing developper is this: what is the difference between React and Web Components? As far as I understand, both create self-contained components that you can use in your HTML, and that will react when you alter their DOM structure (for example changing an attribute value, or binding an HTML input value with an internal value inside the component).
And from that perspective, will we see in the future off-the-shelf HTML components (based on React or Web Components) just like we can use custom Swing components ?
- pjmlp 9y agoThat could be the idea, but currently it seems Angular devs are more open to that idea, given that WebComponents are mostly driven by Google. https://summit.polymer-project.org/ https://summit.polymer-project.org/ https://developer.chrome.com/devsummit/ https://developer.chrome.com/devsummit/ You can some components here, as well as, the current state of browser support. https://www.webcomponents.org/ https://www.webcomponents.org/ Currently only HTML Imports seem to be a point of disagreement. I am looking forward to them, as they can be the way for more sanity on Web development.