3 ms·
I only recently started looking at upgrading from angularjs to angular and web components were one of the things that made me question the emporer's clothes..
by yayana 8y ago
I only recently started looking at upgrading from angularjs to angular and web components were one of the things that made me question the emporer's clothes..
Zone js implements zones and by that they apparently mean exactly 1 zone.. making a supposed abstraction where you can't safely add 2 implementations of web components (or apps?) to 1 page without planning for that with 1 global setup for them..
My initial impression of shadow DOM is that I would get the same scope separation as iframes with a nicer method of passing data and describing the layout.. Then I assumed web components were this missing piece finally implemented.. now I'm wondering if I completely misjudged and everyone else really wanted a complicated footgun where seeming builtins are colliding with your namespace?