declarative-shadow-dom VS WHATWG HTML Standard

Compare declarative-shadow-dom vs WHATWG HTML Standard and see what are their differences.

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
declarative-shadow-dom WHATWG HTML Standard
2 137
189 7,695
- 1.0%
4.1 9.4
about 1 month ago 6 days ago
HTML HTML
- GNU General Public License v3.0 or later
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.

declarative-shadow-dom

Posts with mentions or reviews of declarative-shadow-dom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-10.
  • HTML with Superpowers: An Introduction to Web Components
    5 projects | news.ycombinator.com | 10 Jan 2023
    Take a look at Declarative Shadow DOM: https://github.com/mfreed7/declarative-shadow-dom
  • Shoelace: A Web Component Kit
    14 projects | news.ycombinator.com | 3 Apr 2022
    Hmm, I see that Chromium shipped their implementation a year ago now; I had missed that. Other than that, there’s been no real change in the situation in the last almost two years (since Shoelace 2.0 was released, the last time I examined the situation). And there still doesn’t look to be any real interest in actually implementing it outside of Google: Mozilla are unenthusiastic though not against it <https://mozilla.github.io/standards-positions/#declarative-s...>, and WebKit still find fault with some aspects of the design (https://lists.webkit.org/pipermail/webkit-dev/2021-February/..., https://github.com/mfreed7/declarative-shadow-dom/issues/9), though they’re content most of the earlier issues are ironed out.

    So you certainly can’t rely on scriptless server-side rendering of Shadow DOM being possible—it’ll work in Chromium only, and it’ll probably be at least another year or two before other browsers even contemplate doing anything with it.

    (And of course, even once Shadow DOM is serialisable, that’s a far shot from a particular frameworky thing being SSR-compatible, but I was quibbling over the Shadow DOM and impossibility aspects, so I shan’t step back on that.)

WHATWG HTML Standard

Posts with mentions or reviews of WHATWG HTML Standard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Here are the 10 projects I am contributing to over the next 6 months. Share yours
    13 projects | dev.to | 13 Apr 2024
    WHAT-WG HTML
  • Add Writingsuggestions="" Attribute
    1 project | news.ycombinator.com | 12 Mar 2024
  • Streaming HTML out of order without JavaScript
    5 projects | news.ycombinator.com | 1 Mar 2024
    There's a long-standing WHATWG feature request open for it here: https://github.com/whatwg/html/issues/2791

    And several userland custom element implementation, like https://www.npmjs.com/package//html-include-element

    One of the cool things that you can do with client-side includes and shadow DOM is render the included HTML into a shadow root that has s, so that the child content of the include element is slotted into a shell implemented by the included HTML.

    This lets you do things like have the main page be the pre-page content and the included HTML be a heavily cached site-wide shell, and then another per-user include with personalized HTML - all cached appropriately.

  • An HTML Switch Control
    4 projects | news.ycombinator.com | 28 Feb 2024
  • YouTube video embedding harm reduction
    2 projects | news.ycombinator.com | 28 Feb 2024
    The `allow` attribute on iframes is a relatively recent API addition from 2017

    https://github.com/whatwg/html/pull/3287

  • Htmz – a low power tool for HTML
    10 projects | news.ycombinator.com | 19 Feb 2024
    I think there's a pretty strong argument at this point for this kind of replacing DOM with a response behavior being part of the platform.

    I think the first step would be an element that lets you load external content into the page declaratively. There's a spec issue open for this: https://github.com/whatwg/html/issues/2791

    And my custom element implementation of the idea: https://www.npmjs.com/package/html-include-element

    Then HTML could support these elements being targets of links.

  • The Ladybird Browser Project
    8 projects | news.ycombinator.com | 6 Feb 2024
    > Consider https://www.ietf.org/rfc/rfc1866.txt vs https://html.spec.whatwg.org/multipage/

    I thought, oh, that's not so bad. Then I realized what I was looking at was a 10 page index.

  • HTML Living Standard
    1 project | news.ycombinator.com | 28 Jan 2024
  • Is Htmx Just Another JavaScript Framework?
    9 projects | news.ycombinator.com | 11 Jan 2024
    I'd love to see something like HTMX get standardized, but I'm extremely pessimistic for HTMX's prospects for standardization in HTML.

    In talking to a few standards folks about it, they've all said, "oh, yeah, you want declarative AJAX; people have tried and failed to get that standardized for years." Even just trying to get

    to target a section of the page that isn't an has been argued about and hashed out for years.<p>Why is that? Well, for example, here's the form you have to fill out to start standardizing a front-end feature. <a href="https://github.com/whatwg/html/issues/new?assignees=&labels=addition%2Fproposal%2Cneeds+implementer+interest&projects=&template=1-new-feature.yml">https://github.com/whatwg/html/issues/new?assignees=&labels=...</a><p>It asks three main questions:<p>* What problem are you trying to solve?
  • New in Chrome 120 back button detection
    3 projects | news.ycombinator.com | 5 Dec 2023
    The issue with a single global event handler is discussed here: https://github.com/WICG/close-watcher#a-single-event

    If you use popover="", you get the kind of functionality you're discussing for free. For

    , the discussion is in progress and reaching a conclusion: https://github.com/whatwg/html/issues/9373

What are some alternatives?

When comparing declarative-shadow-dom and WHATWG HTML Standard you can also consider the following projects:

design-reviews - W3C specs and API reviews

caniuse - Raw browser/feature support data from caniuse.com

ui5-webcomponents - UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.

WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.

webcomponents - Web Components specifications

standards-positions

prerender - Node server that uses Headless Chrome to render a javascript-rendered page as HTML. To be used in conjunction with prerender middleware.

Retroactive - Retroactive only receives limited support. Run Aperture, iPhoto, and iTunes on macOS Sonoma, macOS Ventura, macOS Monterey, macOS Big Sur, and macOS Catalina. Xcode 11.7 on macOS Mojave. Final Cut Pro 7, Logic Pro 9, and iWork ’09 on macOS Mojave or macOS High Sierra.

custom-elements-everywhere - Custom Element + Framework Interoperability Tests.

browser

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

exploits