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.

Suggest an alternative to diffhtml

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 2022-02-11.
  • 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.


Basic diffhtml repo stats
14 days ago

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

Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 4 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.