HTML Streaming and DOM Diffing Algorithm

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • WebKit

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

  • Since 2023 Chrome announced the View Transition API, and it looks like Safari is also going to support it soon.

  • diffhtml

    diffHTML is a web framework that helps you build applications and other interactive content

  • diffhtml

  • 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 logo
  • parse-html-stream

    During the HTML streaming, capture the DOM Nodes to work with them

  • To do this, the parse-html-stream library that I have recently put in open-source, supports also walking through the tree of nodes during streaming, allowing you to do incremental rendering, while you walk through the tree the library is parsing the HTML chunks in the order they arrive, and while you have the parsed nodes you are making the rendering changes.

  • morphdom

    Fast and lightweight DOM diffing/patching (no virtual DOM needed)

  • morphdom

  • set-dom

    📑 Lightweight dom diffing with plain old html.

  • set-dom

  • diffDOM

    A diff for DOM elements, as client-side JavaScript code. Gets all modifications, insertions and removals between two DOM fragments.

  • diffDOM

  • bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

  • And in the response use a ReadableStream. This would be the example with Bun:

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

    🚅 - Hyper fast diffing algorithm for real DOM nodes

  • nanomorph

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