K
K
Klein Maximus2016-12-26 11:30:40
JavaScript
Klein Maximus, 2016-12-26 11:30:40

Is it possible to do server prerendering for Polymer?

Polymer offers a lot of ready-made custom elements, but it all works in the browser (often with polyfills).
Is it possible to server-side pre-render a page that uses polymer components?

For example, React allows you to "expand" its components, which allows the page content to load quickly without waiting for all related elements to load. And for SEO it is very useful :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Kustikov, 2017-01-19
@art1z

The polymer is just wrappers over web-components + heels of extensions. And web-components is a pure browser technology. That is, all server-side rendering can be reduced to a result like ....
But without SEO, this will not help in any way.
Polymer is just something like new types of inputs if you generalize at all. And it only renders using the browser's DOM API methods.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question