These are chat archives for jdubray/sam
HTMLElementso that the base custom element has certain functionality. i think this is the natural thing one would do first.
HTMLElementat build time.
it sounds like stencil compiles your class into a plain
HTMLElementat build time.
This is impossible. Every web component inherits from HTMLElement. Stencil outputs a bunch of web components and each of those components inherits from HTMLElement. That's the only way to create web components.
Whether you extend HTMLElement or extend from the base Polymer class (which extends from HTMLElement) doesn't matter in the end. The outward facing API is always 'regular' HTML (a dom node with attributes, properties and events).
The only difference is that to use a Polymer component you must include Polymer on your page and Stencil pre-compiles them thus removing this (runtime!) dependency.
In theory, Polymer could decide to start doing the same thing to accomodate interop.
MyComponent > HTMLElementvs.
MyComponent > PolymerElement > HTMLElement
they said something incredibly vague, like: "we need state management a la redux, we're working on it"
yes, see my earlier comment diretcted to @jdubray
@jdubray if you see any value in the stencil project, please tell them to avoid introducing state management stuff ala redux! they mention it at the end of the presentation, and I started to feel the pain.. 😓
here it is
what way don't you feel? you think stencil and polymer compete directly?
sorry but I can't quote from the mobile app, switched to desktop.. I was referring to this comment: polymer is trying to say "hey, we're light– it's not a big deal to include us on your page" but in practice i'm not sure if people totally feel that way.
Guys, while criticizing Polymer please concider the context in which it was created. Polymer was created in a time where people wanted frameworks that do everything for them and where web components didn't exist. The project was created specifically to push the idea of standalone interop components that are just like html. The whole end goal of Polymer is to not exist as a dependency because the whole framework is incorporated in the browser itself. And thus their slogan #usetheplatform
I like what Polymer did for the component revolution, and what you say is exactly the reason why they MUST love the stencil (or skate) approach
still need to dive into the "lazy-loading" it seemed cool but a little hand-wavy. i realize it's hard to go into depth in a short talk so i don't fault them
If you can, definitely let me know what you find out! I'm interested, but waaay too many things to figure out right now ;P
i realize it's hard to go into depth in a short talk so i don't fault them