All in with web-components?

So I've been playing around with web-components in my spare time, and I have to say that I like them. A lot.

That said, it's not really clear that web-components solve the same problem as b8r components. You definitely can build complex application-specific views as web-components, but is this a Good Idea?

What web-components are really good for is separating the concerns of a view/controller from everything else. E.g. imagine you have a preferences panel that is, essentially, a tool for viewing and changing a bag of named properties of different types. Those types might be integers within a range, floats within a range, discrete custom values, colors with or without alpha channels, and so on. You don't need to generalize too far to cover a huge proportion of all the dialog boxes in existence!

So imagine you create a bunch of generic gadgets for displaying/editing these different kinds of values. Some of these are covered by existing HTML input control types, so you could just use those as is. Others require new kinds of inputs — some as or more complex than a typical web app (consider Apple's system color picker).

Web-components let you just turn this into the simplest of HTML layouts — just have each property edited by the appropriate kind of controller (and indeed, this could be configured programmatically very easily as well). Now you just need to implement the custom controls — e.g. a color picker that includes alpha values, a color picker that picks from a preset palette, an integer-from-range-picker that looks like a knob, etc.

Now you have a "complex" view that simply points elements to object values and a bunch of custom input controls that are completely separate.

How is this better than React or b8r?

— Tonio Loewald,