µJS: a lightweight AJAX navigation library that intercepts link clicks and form submissions to load page content via fetch, cutting full browser reloads on server-rendered sites.
Highlights:
• ~5 KB gzipped — zero dependencies
• Patch mode: update multiple DOM fragments in one request
• SSE support for real-time page updates
• DOM morphing via idiomorph (preserves focus, scroll, video state)
• View Transitions API with silent fallback
• Prefetch on hover + built-in progress bar
• Works with PHP, Python, Go, Ruby — any backend that returns HTML
Top comments (0)