Skip to content

[Question] Using Polymer for progressive enhancement #940

Closed
@mitranim

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions