Dev tools · alternatives · 2026
24 alternatives to Swap.js – a JavaScript micro-framework (HTML fragments over the wire)
Hi HN! I created this lib in the need of a simple and tiny framework to easily do AJAX-style navigation / replacement of fragments in the page, in a web application. For people who don't want to use client-side-rendering and complex frameworks à la React, there are nowadays a few "HTML-over-the-wire" libraries, like HTMX, Unpoly or this super-tiny one Swap.js :) One other key thing is that no external tool is needed: no bundler, no webpack, no TypeScript compiler, no minification needed. Just write HTML, JS (+ your preferred server-side language: PHP, Python, etc.) and it works. The…
Swap.js is a lightweight JavaScript micro-framework that enables AJAX-style page updates by fetching and swapping HTML fragments from the server. It targets developers seeking an alternative to heavy client-side… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Swap.js – a JavaScript micro-framework (HTML fragments over the wire) launched in 2023; newer entries below may have overtaken it.
- 1

I built µJS because I wanted AJAX navigation without the verbosity of HTMX or the overhead of Turbo. It intercepts links and form submissions, fetches pages via AJAX, and swaps fragments of the DOM. Single tag, one call to `mu.init()`. No build step, no dependencies. Key features: patch mode (update multiple fragments in one request), SSE support, DOM morphing via idiomorph, View Transitions, prefetch on hover, polling, and full HTTP verb support on any element. At ~5KB gzipped, it's smaller than HTMX (16KB) and Turbo (25KB), and works with any backend: PHP, Python, Go, Ruby, whatever.…
Mar 2026 · mujs.org · its alternatives →
- 2
Swapy▲146JavaScript tool to convert any layout to a drag-to-swap one
2024 · swapy.tahazsh.com · its alternatives →
- 3

- 4

Hey HN, I'm Nate, the creator of Tamagui. One is a React framework that does two things differently in hopes of simplifying how we build websites and apps: 1. It unifies React Native and React web with typed file system routing by making Vite able to serve RN. This lets you share (or diverge) your code in a simpler way for cross-platform apps. 2. We've partnered with Zero (https://zerosync.dev) to make local-first work well. We've been building a solution in One that makes Zero supporting server rendering, without waterfalls, and with seamless server/client handoff. ---…
2024 · onestack.dev · its alternatives →
- 5

Full reactivity JS/TS framework. Lightweight replacement of React + MobX + React Router. Very small and fast !! - PxyUp/Revact
2019 · github.com · its alternatives →
- 6AI
2015 · jsblocks.com · its alternatives →
- 7

- 8
Next.js 13▲323Build powerful & dynamic web applications – without limits
2022 · nextjs.org · its alternatives →
- 9

- 10HH
Source https://github.com/dashborg/hibiki | Interactive Tutorial https://playground.hibikihtml.com/tutorial/ I love JavaScript, but for many projects -- especially internal tools and prototypes -- setting up a full frontend JavaScript stack (npm, webpack, babel, create-react-app, redux) and all of their configuration files, folders, and scaffolding is overkill. Hibiki HTML incrementally plugs into any backend, using any template language (even static HTML files) with a single script include. It includes a built-in frontend data model, Vue.js-like…
2022 · playground.hibikihtml.com · its alternatives →
- 11

Hi all, author here. This project was a pleasure to do, Remix has very good developer experience. But further than that it's actually a really good way to develop applications, it's a mix of old meets new where the paradigm encourages you to take advantage of web standards for data fetching (forms, links, a tags). And it turns out that it's actually an optimal way to develop simple or even complex web applications which can deploy in a number of runtime environments (including edge workers). So you can get an insanely fast website for users. Note that this project is not necessarily an…
2022 · github.com · its alternatives →
- 12
Blitz.js▲270Rails-like framework for React apps, built on Next.js
2020 · github.com · its alternatives →
- 13

Faster user-land reimplementations for several common builtin native JavaScript functions. - codemix/fast.js
2014 · github.com · its alternatives →
- 14

Hey HN, we built a Chrome Extension (https://www.magicpatterns.com/extension) that converts a snippet of any website to an isolated React component. Demo video: https://youtu.be/hutUYDkyE_A How it works: 1) Iterate through each node in the selected DOM tree, 2) For each element, find any matching CSS selectors / inline styles, 3) Use window.getComputedStyle to get the deterministic values, 4) Construct JSX It was pretty hard producing the minimal code necessary while maintaining the same visual look. To do this, we implemented things like abstracting out…
2024 · chromewebstore.google.com · its alternatives →
- 15

TL;DR: dagger.js is a buildless, runtime-only micro-framework that plays nicely with native Web Components. It uses HTML-first directives (e.g. +click, +load) so you can ship a page by dropping a single from a CDN—no bundlers, no compile step. Why I built it Modern stacks are powerful but often heavy: bundlers, compile steps, framework DSLs, local CLIs. For internal tools, small apps, and edge/serverless deployments, I wanted something you can view-source, paste into a page, and ship. What it is: Runtime-only: no build or VDOM compile; hydrate behaviors directly on HTML. HTML…
2025 · daggerjs.org · its alternatives →
- 16

Hey all, I just wanted to share a project I've been working on for the past month. After years of heavy frameworks, I really like the idea of using htmx, but it’s a little too low level for me and needs a thin layer above it to facilitate things like components, better syntax with complex JS inside of an attribute, etc To try and solve this problem with a very minimal stack (golang + htmx) that I've been really enjoying, I'm building this project to cater to my needs and was thinking it would be useful for other developers.
2024 · htmgo.dev · its alternatives →
- 17FJ
2021 · forgojs.org · its alternatives →
- 18UT
Entire React code base explanation by visual block schemes (Stack version)
2017 · bogdan-lyashenko.github.io · its alternatives →
- 19

A blazing fast React alternative, compatible with IE8 and React 16. - NervJS/nerv
2018 · github.com · its alternatives →
- 20UG
Hi all, I'm currently working on my hobby project, and one of the fun constraints I put in was to build using as less dependencies as possible. I chose Go as it has a really good standard library, and all went well for building backend. But for frontend, I was wondering whether I should break the constraint and go for React. I tried options like Web Components, but I really didn't like the ergonomics and I didn't want to use jQuery either. Out of curiosity, I was exploring Go's html/template package to see if I can write UIs in a React-like manner. I found most of the online docs using…
2024 · its alternatives →
- 21

1kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp
2017 · github.com · its alternatives →
- 22LA
Reactive components with React-like patterns at ~9 KB gzip. Zero dependencies, zero build step, designed for humans and AI agents.
2021 · lemonadejs.net · its alternatives →
- 23AJ
I've been building a web UI library for a side project of mine. I thought it might be useful to others, so I'm releasing it as open source. To put it simply, I realized that most of my pain points with React come from its declarative model ui=f(state). So I'm trying something that I'm calling "imperative JSX." Instead of treating JSX as the source of truth for your UI, it essentially becomes a query interface for DOM manipulation. I first had the idea for it a few months ago, and only began writing it in earnest last week, so it's extremely early and nowhere near production-ready. Still, I'd…
2024 · npmjs.com · its alternatives →
- 24
Swapp.js▲10One query language, any database - simplify your DB setups
2025 · github.com · its alternatives →
Also compare
- µJS, a 5KB alternative to Htmx and Turbo with zero dependencies alternatives
- Swapy alternatives
- Remix alternatives
- One – A new React framework unifying web, native and local-first alternatives
- FastDom – Lightweight replacement of React and MobX alternatives
- An Isomorphic JavaScript Framework Faster Than React alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →