3 ms·
After trying out and reviewing the code of https://shoelace.style/ https://shoelace.style/ I began asking the question: Do we still need libraries like Vue? Hav
by sergiosgc 3y ago
After trying out and reviewing the code of https://shoelace.style/ https://shoelace.style/ I began asking the question: Do we still need libraries like Vue? Haven't native web components reached the point where we can let go of the component "polyfills" we've been using?
This crossover is bound to happen, like it happened with jQuery. The question is when.
- tambourine_man 3y agoIf history repeats itself, it will never be as nice, like it happened with jQuery.
- jadbox 3y agoOr how browsers were supposed to replace Flash with built-in standards.. that never really materialized the dream in practice for web media creators.
- tambourine_man 3y agoThe runtime was mostly replaced. The authoring tool is what's missing, IMO. I don't know how well a truly responsive design can be accomplished with visual tools only, to be fair.
- herpdyderp 3y agoIf you don't have to support IE (I'm sure some poor souls on here still have to), my opinions are: > Do we still need libraries like Vue? No > Haven't native web components reached the point where we can let go of the component "polyfills" we've been using? Yes
- Uehreka 3y agoI don’t think the crossover is bound to happen. With Web Components the browsers went all-in on ideas about components that made sense in the early 2010s, but then couldn’t evolve them because they had already standardized. In practice most component libraries don’t use Web Components under the hood (yes, I know Angular does if you tell it to, in practice I’ve never seen anyone use this) and aren’t polyfills. The main framework that worked that way (Polymer) has been out of use for years.
- sergiosgc 3y ago> In practice most component libraries don’t use Web Components under the hood (...) Look at Shoelace's code. It's just Web Components, coded in Typescript on top of lit.dev. It's about as easy to write as Vue. > and aren’t polyfills I know, hence the quotes on my text.
- niutech 3y agoWeb Components are still relevant, see e.g. Lit Element, Stencil.
- Uehreka 3y agoI’ve heard pf Lit Element, I have never seen it used in production. I work for an agency, so I see several new frontends every year, and almost all of them are Angular, React or Vue. I know that these other frameworks exist and what their deals are because I listen to ShopTalkShow and so on, but I don’t think they’re that big in terms of what people are using in the field.
- deleted 3y ago[deleted]