notwaldorf / ama

:raising_hand: Ask @notwaldorf anything!
94 stars 13 forks source link

Web Components & Async rendering #93

Closed gregorym closed 6 years ago

gregorym commented 6 years ago

IMO one of the biggest selling point of React right now is async rendering. Stenciljs does also offer async rendering however you are forced to use Typescript, which I don't like.

Do you have thoughts on the topic and do you know if Polymer or other Web Component libraries are working on async rendering?

notwaldorf commented 6 years ago

I don't really know a ton on this topic. Web components use the actual dom, not a vdom, and the actual dom is fundamentally imperative, which is why async rendering doesn't really translate off the bat there. I asked @developit, and he said "AsyncAppend and Template Instantiation both move towards those goals though", so there's that!