Goffert van Gool

Results 9 comments of Goffert van Gool

I agree that this behaviour is somewhat unexpected, but it has been decided that this should be the default behaviour of `lit-html`, see Polymer/lit-html#385 and Polymer/lit-html#442 For now, I am...

`.obj=${obj}` works, it just assigns the property _after_ the element is upgraded, so the property is not set during the `constructor` or `connectedCallback`, but the property setter will be invoked....

The updating mechanism for this is fundamentally different from how current property/attribute setters work. How will caching/updating things work? What if you spread one less property than in the previous...

Personally, this feature feels like syntax sugar to me, and I don't think it adds significant new capabilities to the library. I'd welcome this as a directive, but I'm not...

The current proposed implementation is a builtin, so it is not optional.

The equals sign is not optional, because of how the parser works. The spread is interpreted as a special case of an attribute, which requires the equals sign. Supporting the...

We're currently deciding if 5% additional library size is a good tradeoff for adding a spread feature, and opinions are divided on this point. I think it will be very...

Thanks for the suggestion. :) I did look into `import.meta` and it seems to be basically what we need. The difficulty is that it cannot be polyfilled, so we have...

Having the same issue. Syntax highlighting seems broken inside functions.