Justin Fagnani

Results 342 comments of Justin Fagnani

> I'd like it better if we could just pass through all props to element properties but it seems like that ship has sailed since most web components aren't designed...

@sebmarkbage I get why properties are preferable to attributes, that's why Polymer defaults to setting properties. Since most Web Components these days are Polymer elements, and Polymer automatically supports properties,...

@treshugart I think putting the burden of writing event handler properties on the custom elements author is the wrong approach. 1) it's extra code that won't always be implemented. 2)...

@joeldenning I took a quick look at #8755 and it seemed like it didn't provide any way to set attributes on custom elements. There really needs to be a way...

This is related to #7249 : I really think the best way here is explicit control over whether a prop is set as an attribute or property or as an...

Elements can certainly look at attributes when they boot up, but only for values that are string serializable.

I would be very interested in this, especially to combine it with the `` custom element I've been working on, also written in TypeScript: https://github.com/justinfagnani/chessboard-element/

> If I see lit-element or stencil, I tend to bail even though I like those quite a lot. What is the purpose of that? I've used lit-element to implement...

@davatron5000 IMO, the dependencies of an element shouldn't matter to it's "standalone" nature. Plenty of relatively standalone widgets in the classic style had dependencies, you just had to add their...

Is this still in the plans?