Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's the definition of "older browser" here? As far as I know, polymer also uses a polyfill [1] to provide the web components functionality to older browsers.

[1] : https://www.polymer-project.org/1.0/resources/compatibility....



No support for IE9 even with polyfills. Some people can get away with not supporting IE9, but sadly I am not one of those people.


Yeah, but last time I checked it fails: for example there isn't a way to polyfill shadow DOM...


Polymer 1.0 doesn't use shadow DOM (unless you ask it to). Instead it uses this thing called 'shady DOM', which is roughly equivalent but requires accesses to the DOM to go through APIs.

See here for the details:

https://www.polymer-project.org/1.0/articles/shadydom.html


The difference between the webcomponents.js polyfill and webcomponents-lite.js is precisely that the former includes the shadow dom polyfill.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: