Proposal to add efficient DOM diffing to browser

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
  • dom

    DOM Standard

  • A related proposal can also be found here: https://github.com/whatwg/dom/issues/270

    I'm curious why this hasn't made it to the browser yet and doesn't seem to be explored very seriously? So many web-frameworks revolve around trying to address this issue, why not get rid of the overhead or at least reduce it?

  • domdiff

    Diffing the DOM without virtual DOM

  • 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.

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • A Response to "Have Single-Page Apps Ruined the Web?"

    3 projects | news.ycombinator.com | 25 Apr 2024
  • HTML Attributes vs. DOM Properties

    2 projects | news.ycombinator.com | 24 Apr 2024
  • Which browser do you recommend, one for personal security-focused use and one for work?

    1 project | /r/browsers | 8 Jun 2023
  • Notback BETA - A new PHP frontend framework

    5 projects | /r/PHP | 28 Mar 2023
  • Declarative Shadow DOM

    5 projects | news.ycombinator.com | 13 Feb 2023