µJS icon
µJS icon

µJS

µJS intercepts links and form submissions, fetches pages via AJAX, and swaps fragments of the DOM. Single <script> tag, one call to mu.init(). No build step, no dependencies.

mujs.org homepage

Cost / License

  • Free
  • Open Source (MIT)

Application type

Platforms

  • JavaScript
  • npm
0likes
0articles

Features

µJS News & Activities

Highlights All activities

Recent activities

  • Sprae icon
    div108 added µJS as alternative to Sprae
  • talkDOM icon
    eringen added µJS as alternative to talkDOM
  • POX updated µJS
  • amaurybouchard added µJS
  • HTMX icon
    amaurybouchard added µJS as alternative to HTMX, Vue.js, Angular and React + 8 similar activities

µJS information

AlternativeTo Category

Development

GitHub repository

  •  224 Stars
  •  4 Forks
  •  1 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
µJS was added to AlternativeTo by Amaury Bouchard on and this page was last updated .
No comments or reviews, maybe you want to be first?

Official Links

What is µJS?

µJS intercepts links and form submissions, fetches pages via AJAX, and swaps fragments of the DOM. Single <script> 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.