Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andreapaiola
on May 8, 2016
|
parent
|
context
|
favorite
| on:
Ask HN: What are the cons of Google Polymer?
Yeah, but last time I checked it fails: for example there isn't a way to polyfill shadow DOM...
david-given
on May 8, 2016
|
next
[–]
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
tdumitrescu
on May 8, 2016
|
prev
[–]
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: