Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PWA, SEO, SSR

aggre
November 04, 2017

PWA, SEO, SSR

aggre

November 04, 2017
Tweet

More Decks by aggre

Other Decks in Technology

Transcript

  1. PWA

  2. SSR

  3. require('@skatejs/ssr/register'); const render = require('@skatejs/ssr’); class Hello extends HTMLElement {

    connectedCallback () { const shadowRoot = this.attachShadow({ mode: 'open' }); shadowRoot.innerHTML = '<span>Hello, world!</span>'; } } customElements.define('x-hello', Hello); const hello = new Hello(); render(hello).then(console.log);