webcomponents-blog-examples VS custom-elements

Compare webcomponents-blog-examples vs custom-elements and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
webcomponents-blog-examples custom-elements
1 2
0 229
- 2.2%
5.3 3.5
7 months ago 12 months ago
JavaScript JavaScript
MIT License ISC License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

webcomponents-blog-examples

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

custom-elements

Posts with mentions or reviews of custom-elements. 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
    There is a polyfill for customiziing built-ins on Safari.

    https://github.com/ungap/custom-elements

  • Misadventures in web components
    4 projects | dev.to | 16 May 2021
    The reason for the hand-rolled functionality is because Safari doesn't support customized built-ins, nor do they intend to anytime soon1. I will probably swap out my custom data attribute solution for a polyfill that supports the native is attribute when implementing in production because this is not implemented to spec.

What are some alternatives?

When comparing webcomponents-blog-examples and custom-elements you can also consider the following projects:

chat-app - A contact us demo widget built using Saasufy.

webcomponents - Web Components specifications

cami.js - Cami.js is a simple yet powerful toolkit for interactive islands in web applications. No build step required.

stencil - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.

htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

marimo - A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.

WHATWG HTML Standard - HTML Standard

supercomponent - Give your Web Components modern-day superpowers.

lit - Lit is a simple library for building fast, lightweight web components.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured