diffhtml

diffHTML is a web framework that helps you build applications and other interactive content (by tbranyen)

Diffhtml Alternatives

Similar projects and alternatives to diffhtml

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

diffhtml reviews and mentions

Posts with mentions or reviews of diffhtml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • HTML Streaming and DOM Diffing Algorithm
    8 projects | dev.to | 21 Feb 2024
    diffhtml
  • Show HN: LiveViewJS – TypeScript back end for LiveView Apps
    9 projects | news.ycombinator.com | 11 Feb 2022
    Hi floodfx, we should chat at some point if you're on slack/discord/etc. I'm building something extremely similar and there's potential opportunity to share some code/learnings. Personally I feel this design paradigm is the real web 3.0.

    My project is https://diffhtml.org/ and I have started experimenting with middleware to bridge to server and client workers: https://github.com/tbranyen/diffhtml/pull/251. For the server worker, it uses a WebSocket to ferry the VDOM diff patches, custom events, and property access/function calls. A big goal is to allow synchronous "main thread" access from workers, including on the server-side. This would allow you to write your UI code as if you were a client side app. It does this the same way as partytown using a SharedArrayBuffer and Atomics. You can see demo source code here: https://gist.github.com/tbranyen/2f5be81cfb7b3aa1bb443c8ef13....

    I've also toyed around with hot reloading components without the need for a pre-processor like Babel, and the results are hugely promising. Stateful live UI updates from saving a component file to seeing in the browser without all the fuss with complex build steps is liberating.

    I'm probably a few months out from having a usable beta, but I'm going to follow your project closely. Thanks for sharing!

  • Solidjs – JavaScript UI Library
    9 projects | news.ycombinator.com | 29 Nov 2021
    I suggested one such idea (a diffing version of innerHTML) years ago to Mozilla. Ironically, the React team was against it and it fizzled out. In more ironic twists of events, someone eventually wrote a JS implementation of it: https://github.com/tbranyen/diffhtml/tree/master/packages/di... and nowadays people are talking about HTML-based rendering engines again, making this idea somewhat relevant once more.

    To be fair to standards bodies, they have done some work. Element.append now exists to make hyperscripts a bit more straightforward, and a lot of reactivity semantics can be implemented on top of Proxy.

  • A note from our sponsor - WorkOS
    workos.com | 19 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic diffhtml repo stats
4
864
6.8
22 days ago

tbranyen/diffhtml is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of diffhtml is JavaScript.

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