Levelo JS is a lightweight, ultra-fast reactive JavaScript framework built for speed and simplicity. No Virtual DOM. Direct Real DOM. Powered by Motion Mind.
Scaffold a complete Levelo JS project instantly:
npx create-levelo-app my-app
cd my-app
npm install # or pnpm install
npm run dev # or pnpm dev Add Levelo JS to an existing project:
npm install levelojs
# or
pnpm add levelojsimport { render } from 'levelojs';
import Mind from './Mind.jsx';
render(Mind, document.getElementById('app'));import { state } from 'levelojs';
function Counter() {
const [count, setCount] = state(0);
return (
<div>
<h2>{count()}</h2>
<button onclick={() => setCount(count() + 1)}>
Level Up ➔
</button>
</div>
);
}
export default Counter;- Zero Virtual DOM Overhead - Bypasses VDOM diffing completely; updates the Real DOM nodes directly.
- Fine-grained Reactivity - Targeted structural updates via an independent runtime tracking graph.
- Hierarchical Ownership - Native tracking scopes ensure nested reactions dispose properly with zero memory leaks.
- TypeScript Powered - Complete internal codebase rewrite into strict, type-safe structures.
- JSX Support - Standard developer-friendly component structuring with seamless reactive attribute bindings.
- Vite-integrated - Pre-configured for instantaneous Hot Module Replacement (HMR) and optimized distribution builds.
| API | Type | Description |
|---|---|---|
state |
Primitive | Creates a reactive state atom with a getter/setter tuple. |
effect |
Side Effect | Tracks active reactive dependencies and re-executes automatically. |
computed |
Memoization | Derives stateful values efficiently using caching mechanics. |
cleanup |
Lifecycle | Registers disposal routines inside active tracking ownership contexts. |
mount |
Lifecycle | Schedules code execution precisely after layout nodes paint to the Real DOM. |
head |
SEO Management | Dynamic, component-driven configuration for document metadata layers. |
render |
Bootstrapper | Injects and mounts the root structural component tree to a DOM container. |
h |
Factory | Real DOM internal hyperscript generator (compiler-targeted). |
| Package | Description | Version |
|---|---|---|
levelojs |
Core framework library | |
create-levelo-app |
Official project scaffolding CLI |
This project is licensed under the MIT License © Motion Mind.
Built with ⚡ by Motion Mind