A high-performance, standalone Single Page Application (SPA) engine designed for modern web exploration and instant content delivery.
npm install @gellish/micro-framework- ⚡ Instant Navigation: Zero-reload content swapping using the Fetch-Parse-Swap lifecycle.
- 📊 Performance Dashboard: Built-in support for real-time navigation logging and system monitoring.
- 🛡️ Multi-Stage Status: Integrated status badge with distinct states (
SYNCED,FETCHING,ONLINE). - 🔗 Custom Events: Dispatches
spa:navigatedevents for total UI synchronization. - 🍱 Clean SEO: Automatic synchronization of
document.title,body.className, and container state.
Import the ESM-ready core and initialize the lifecycle.
import SPA from '@gellish/micro-framework';
SPA.init();Listen to the technical pulse of your application.
window.addEventListener('spa:navigated', (e) => {
const { url, time } = e.detail;
console.log(`System Online: ${url} at ${time}`);
});Check out the full Technical Documentation Portal for Architecture details and API Reference.
Licensed under the Apache License, Version 2.0.