<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp" -->

---
title: µJS — Lightweight AJAX Navigation Library | daily.dev
description: µJS is a lightweight AJAX navigation library (~5KB gzipped, zero dependencies) that accelerates websites without requiring a JS framework. Key features include...
canonical: https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: µJS — Lightweight AJAX Navigation Library | daily.dev
og:description: µJS is a lightweight AJAX navigation library (~5KB gzipped, zero dependencies) that accelerates websites without requiring a JS framework. Key features include...
og:url: https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp
og:image: https://api.daily.dev/og/posts/9m93FNSGp.png
og:image:alt: µJS — Lightweight AJAX Navigation Library
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# µJS — Lightweight AJAX Navigation Library

**[Hacker News](https://daily.dev/sources/hn)** · 1 min read · 0 upvotes · 0 comments

## Summary

µJS is a lightweight AJAX navigation library (~5KB gzipped, zero dependencies) that accelerates websites without requiring a JS framework. Key features include prefetch on hover, no full page reloads, a built-in progress bar, patch mode for updating multiple page fragments in one request, support for all HTTP verbs on links/buttons/forms, Server-Sent Events for real-time updates, DOM morphing via idiomorph, and the View Transitions API. It works as a drop-in with any backend and requires no build step.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://mujs.org/>

## Similar posts on daily.dev

- [Reminder: You Can Stitch Together Lots of Little HTML Pages With Navigations For Interactions](https://daily.dev/posts/reminder-you-can-stitch-together-lots-of-little-html-pages-with-navigations-for-interactions-zqbf3apvm) · Lobsters · 0 upvotes · 0 comments
- [NoLoJS: Reducing the JS Workload with HTML and CSS](https://daily.dev/posts/nolojs-reducing-the-js-workload-with-html-and-css-qok6dvopl) · Web Performance Calendar · 3 upvotes · 0 comments
- [Issue \#803: JavaScript desktop apps in under 10MB — JavaScript Weekly](https://daily.dev/posts/issue-803-javascript-desktop-apps-in-under-10mb-javascript-weekly-pypzvc0cg) · JavaScript Weekly · 6 upvotes · 1 comments
- [Reduce the JS Workload with No- or Lo-JS options – Master.dev Blog](https://daily.dev/posts/reduce-the-js-workload-with-no--or-lo-js-options-master-dev-blog-nnidtwjps) · Frontend Masters · 6 upvotes · 0 comments

---

Tags: [#frontend](https://daily.dev/tags/frontend), [#javascript](https://daily.dev/tags/javascript), [#server-sent-events](https://daily.dev/tags/server-sent-events)

[View this post on daily.dev](https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"µJS — Lightweight AJAX Navigation Library","url":"https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp"},"datePublished":"2026-03-07T22:04:55.125Z","dateModified":"2026-05-21T02:13:44.730Z","description":"µJS is a lightweight AJAX navigation library (~5KB gzipped, zero dependencies) that accelerates websites without requiring a JS framework. Key features include...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/75021d144928e4faf27784521c0e980b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/75021d144928e4faf27784521c0e980b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/js-lightweight-ajax-navigation-library-9m93fnsgp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"frontend,javascript,server-sent-events","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"µJS — Lightweight AJAX Navigation Library"}]}
```

