Well, I figured out a way to SSR Web Components and their Shadow DOM using Babel and JSDOM, but now I forgot why I wanted to do that.
-
-
I will. It’s spread across so many files right now, but the gist is: 1. JSDOM + custom implementation of Web Components polyfill and createContextualFragment. 2. Babel + custom plugin to detect DOM globals and rewrite them to reference the JSDOM implementation.
-
I will package it tomorrow, but I need to sleep now. Here are the utilities I had to write: https://gist.github.com/jonathantneal/884bd93d064c77ecdeb8825227588050 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.