domdiff

Diffing the DOM without virtual DOM (by WebReflection)

Domdiff Alternatives

Similar projects and alternatives to domdiff

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

domdiff reviews and mentions

Posts with mentions or reviews of domdiff. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-09.
  • Ask HN: What happened to vanilla HTML/CSS/JS development?
    31 projects | news.ycombinator.com | 9 Sep 2022
    > There are lighter-weight shadow dom frameworks out there (than Vue/React/Angular) so why would you want to write one yourself?

    You can even avoid a shadow DOM entirely:

    https://github.com/WebReflection/domdiff

    https://github.com/WebReflection/uhtml

  • Proposal to add efficient DOM diffing to browser
    3 projects | news.ycombinator.com | 3 Apr 2021
    If by faster you mean faster than React I think there is evidence it can be. The author of the issue writes lots of dom utility and rendering libraries and I believe domdiff is more or less what he describes in the post:

    https://github.com/WebReflection/domdiff

    You can find it placed way above React in the usual JS rendering benchmarks:

    https://rawgit.com/krausest/js-framework-benchmark/master/we...

    Now it's not entirely clear whether these benchmarks convey something meaningful except for maybe the point that most frameworks are quite fast. That being said I think it's developer experience that really stands to improve. Thinking of view as a pure function of state was a great innovation, but existing implementations can end up fracturing the view into virtual doms and non-virtual. Then you end up with problems like D3 and React not coexisting.

    I feel like I heard something from the lit-html folks that a long term aspiration was to integrate some learnings from the project into chrome, but I haven't been able to find where again.

    There has been a trend in JS with libraries becoming idiomatic to the language to later have the issues they targeted be addressed natively (a la JQuery).

    In general, I definitely appreciate your point about adding complexity to the platform, but I think when it comes to web technologies that ship has long sailed. I really see it as an opportunity to bring a lot of simplicity, chiefly filling that void that's birthed a billion JS frameworks.

    Thanks for the thoughtful comment.

Stats

Basic domdiff repo stats
2
210
0.0
over 1 year ago

WebReflection/domdiff is an open source project licensed under ISC License which is an OSI approved license.

The primary programming language of domdiff is JavaScript.


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com