webcomponents-blog-examples

By lpedrosa

Webcomponents-blog-examples Alternatives

Similar projects and alternatives to webcomponents-blog-examples

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better webcomponents-blog-examples alternative or higher similarity.

webcomponents-blog-examples reviews and mentions

Posts with mentions or reviews of webcomponents-blog-examples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-13.
  • HTML Web Components
    14 projects | news.ycombinator.com | 13 Nov 2023
    > This feature of web components encourages a design of composability.

    I am not a React, Vue (and friends dev) at all. Heck, I haven't done front-end or full stack for a long time now.

    However, taking React as an example, where does it not encourage composability?

    I like Web Components. I even spent the last couple of weeks playing only with the vanilla APIs (no Lit, etc.) just to see what is like:

    https://lpedrosa.github.io/blog/web-components-part-3/

    https://github.com/lpedrosa/webcomponents-blog-examples

    Like many other people have pointed out in this post, it is great that you can leverage the platform. All the things you will learn e.g. DOM APIs, native elements and events, etc., are things you can carry over to React and Vue.

    However, I believe articles like this fail to acknowledge the contribution React and friends brought to developer experience.

    Building complex desktop like UIs was no longer impossible to maintain. You can easily make components and compose them, customise them, etc.

    The general complaint is more around "you don't need Next.js" to build a news/marketing/blog website. The pendulum is swinging, especially with things like HTMX gaining traction.

    IMO, people do it because:

    - It's easier to hire developers that know the framework du jour

    - Custom Elements are very flexible, so it's hard to enforce a particular style

    - There aren't enough examples of people using vanilla Web Components (and I mean vanilla, not Lit and friends), so why use a web component framework when I can use a react based one?

    Write more about how we can combine things like Custom Elements and "traditional" server side templating.

    Write more about how a native element reacts to changes to its attributes or how it communicates user interaction and how that helps building a good custom element.

    Or how building a good custom element is similar to building a good React component, and where it differs.

    Antagonising existing knowledge or even the status quo, is not constructive and leads to poor discussions e.g. Web Components is a failed technology or articles like OP

Stats

Basic webcomponents-blog-examples repo stats
1
0
5.3
6 months ago

lpedrosa/webcomponents-blog-examples is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of webcomponents-blog-examples is JavaScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com