Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Using Polymer for progressive enhancement #940

Closed
mitranim opened this issue Nov 18, 2014 · 0 comments
Closed

[Question] Using Polymer for progressive enhancement #940

mitranim opened this issue Nov 18, 2014 · 0 comments

Comments

@mitranim
Copy link

I'm sorry if this has been discussed before. Is there a way to use Polymer features with pre-rendered content? As far as I can see, Polymer requires you to prototype each element with <polymer-element name="my-tag"> and then include it via <my-tag>. This requires JS and presumably won't work in <IE10.

Is there a way to use Polymer features like databinding and lifecycle methods with content that doesn't depend on Polymer to be displayed? It feels like I'm missing something.

(Edit.) Nevermind this. Web Components and Shadow DOM require JavaScript polyfills, so it doesn't make sense to talk about pre-rendering Polymer components — you can't pre-render Shadow DOM. Too bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant