▲ | jfagnani 7 days ago | |||||||
Lit has always been designed partially as a prototype for where web component standards could go in the future. That's a big reason Lit is fairly conservative and un-opinionated. It doesn't try to undo or paper-over any of the DOM APIs, but add to them instead. There is a proposal in TC39 for native signals, which I think would make a huge dent towards library-less reactivity. I'm also working on a proposal for native reactive templating which would more-or-less obsolete lit-html. I wrote about the idea some on my blog: - The time is right for a DOM templating API https://justinfagnani.com/2025/06/26/the-time-is-right-for-a... - What should a native DOM templating API look like? https://justinfagnani.com/2025/06/30/what-should-a-dom-templ... | ||||||||
▲ | lenkite 7 days ago | parent | next [-] | |||||||
I hope there can be ways without JS to populate templates with data - autoloaded from sources. This would tremendously increase the number of JS free web-sites. Also wish the web-components standard did not mandate the use of JS. It should be possible to define simple web-components (HTML+CS) declaratively and have this officially supported in standard and implementation | ||||||||
| ||||||||
▲ | 7 days ago | parent | prev | next [-] | |||||||
[deleted] | ||||||||
▲ | troupo 7 days ago | parent | prev [-] | |||||||
> Lit has always been designed partially as a prototype for where web component standards could go in the future. > There is a proposal in TC39 for native signals, Which originated (or the modern versions of signals originated) in Solid, not in Lit. Let me quote the readme: https://github.com/tc39/proposal-signals --- start quote --- The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more… -- end quote --- | ||||||||
|