4 ms·
Looks neat, but also like a non-standard implementation of Web Components, which, though slow coming, already have universal browser support with a small shim.
by eob 10y ago
Looks neat, but also like a non-standard implementation of Web Components, which, though slow coming, already have universal browser support with a small shim.
What's the advantage of this over something like Google's Polymer library, which is a toolkit for rapidly creating reactive web components?
- boubiyeah 10y agoPolymer is an enormous library.
- eob 10y agoPolymer offers a lot of UI widgets, which are enormous when you glob them together, but the base polymer library is actually incredibly small due to the fact that's it's leveraging the browser's native custom element functionality. Can't reply to your comment so editing here: Works natively on IE11+, Edge, Safari 9+, Chrome, Opera, Firefox, and mobile browsers. The polyfill for everyone else (webcomponents-lite.js) is 41kb.
- ergo14 10y agoThats completly untrue - polymer is close in size to jquery and a lot smaller than react core for example.
- abdonrd 10y agoNo, it's a little library. And smaller in Polymer 2.0. :)
- netcommentator 10y agoWeb Components (or Polymer) when combined with JSX is awesome: https://github.com/wisercoder/uibuilder https://github.com/wisercoder/uibuilder Shadow DOM lets you build reliable, reusable components.