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

Does it work for Web Components (native, Polymer)? #14

Open
motss opened this issue Jul 28, 2017 · 5 comments
Open

Does it work for Web Components (native, Polymer)? #14

motss opened this issue Jul 28, 2017 · 5 comments

Comments

@motss
Copy link

motss commented Jul 28, 2017

It'd be nice if Web Components would be rendered.

@stereobooster
Copy link

I suppose yes, it is based on headless chrome

@lastmjs
Copy link

lastmjs commented Oct 24, 2017

I think it is more complicated than that. Shadow DOM is the biggest issue if I'm not mistaken. Look into this: https://github.com/skatejs/ssr/blob/master/README.md and this: Polymer/polymer#3955

I don't think SSR for web components is fully possible yet.

@stereobooster
Copy link

@motss do you have example of small website with components? I would like to run some tests

@toshovski
Copy link

@stereobooster
Copy link

Still, haven't a chance to look into it. As far as I understand you can prerender Shadow DOM to actual DOM, like rendertron does, but to there is no easy way to prerender and rehydrate. Skate.js, for example, prerenders shadow dom and serializes it to JS

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

No branches or pull requests

4 participants