Levelo-Js v2 Launches as Full TypeScript Rewrite with Overhauled Memory Management
Levelo-Js v2 has been released as a complete architectural rewrite of the lightweight JavaScript UI framework, now rebuilt entirely in TypeScript for strict type safety and improved developer experience. The new version ships production bundles via tsup, delivering tree-shakable ES Modules designed to reduce build size. A redesigned Reactive Ownership Architecture introduces parent-child state tracking, while the core effect engine now auto-disposes stale dependencies, keeping heap memory stable at around 2.5MB during intensive interactions. Two new lifecycle hooks, mount() and cleanup(), give developers precise control over DOM tasks, event listeners, and async operations across route transitions. The release also patches a compiler bug that incorrectly converted camelCase SVG attributes to kebab-case, and introduces an improved 404 fallback screen for unregistered client-side routes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in