pimterry / server-components

:wrench: A simple, lightweight tool for composable HTML rendering in Node.js, based on web components.
https://pimterry.github.io/server-components
MIT License
216 stars 12 forks source link

Move to wrapping a standard custom elements polyfill #21

Open pimterry opened 8 years ago

pimterry commented 8 years ago

Depends on #20, but should be fairly easy once that's out the way. Could continue polyfilling myself, but while that's fine for a PoC, it doesn't seem like the right approach for real usage. Good polyfill: https://github.com/WebReflection/document-register-element

gilbert commented 7 years ago

Just discovered this V1 polyfill, used by polymer, which is only 3.4kb gzipped https://github.com/webcomponents/custom-elements