> I mostly agree but Web Components is a web standards as is templates/custom elements now.
People keep repeating this mantra as if this alone makes web components good
> Those frameworks have incentive to lock you in while standards are lock-in at a lower level.
Or: these frameworks have the incentive to solve problems that web standards have been unwilling to solve for decades, and won't solve for another few decades.
> I like platforms that make web standards the core aim not the platform lock in.
Then you should use literally anything else but web components. Because web components don't make standards their core, are broken on multiple levels, and will require 20 more new standards to fix things that are not broken in literally anything else: https://threadreaderapp.com/thread/1717580502280867847
> Lit is just a lighter weight version of that and closer to web standards
The only thing that is standard in Lit is that it compiles to web components by default.
I mostly agree but Web Components is a web standards as is templates/custom elements now. Web Components are a standard.
You did ask. heh.
As I mentioned, I prefer direct standards or at least frameworks that make standards a main part of the design, even if only on output.
Standards are slower to finalize, frameworks front ran them via abstractions that may have been needed for a while --like Flash with interactivity before HTML5/canvas/svg/WebGL/etc and I was huge into Flash and plugins, those days are over though. Standards will be around longer and more maintainable on standard schedules not just feature/dependency pump frameworks of today that have verbloat.
Plugins and now frameworks innovate and front run, and influence standards, then standards win the long game every single time. Like why use virtual DOM when shadowdom is now available, unnecessary abstraction now that will always lose to native dom abstractions like shadowdom.
Right now with web standards where they are at, Javascript how far it has come, and the coming WebAssembly + WebGPU platforms now being ready or close to ready, the current frameworks are about to be lapped. It is just the way things go and the typical waves in innovation to standards and repeat.
About Lit, I mentioned it as I said in another comment "if you like the component style of other frameworks but want to use Web Components, Google Lit is quite nice"
People keep repeating this mantra as if this alone makes web components good
> Those frameworks have incentive to lock you in while standards are lock-in at a lower level.
Or: these frameworks have the incentive to solve problems that web standards have been unwilling to solve for decades, and won't solve for another few decades.
> I like platforms that make web standards the core aim not the platform lock in.
Then you should use literally anything else but web components. Because web components don't make standards their core, are broken on multiple levels, and will require 20 more new standards to fix things that are not broken in literally anything else: https://threadreaderapp.com/thread/1717580502280867847
> Lit is just a lighter weight version of that and closer to web standards
The only thing that is standard in Lit is that it compiles to web components by default.