8000 GitHub - omilli/hellajs
[go: up one dir, main page]

Skip to content

omilli/hellajs

Repository files navigation

HellaJS

A lightweight JavaScript UI framework with fine-grained reactivity.

Static Badge Coverage

HellaJS Documentation

Key Features

  • 🚀 Hella Fast: Fine-grained reactivity, no virtual DOM overhead
  • 📦 Hella Small: Starting around 3.5KB gzipped, with a modular architecture
  • 📖 Hella Simple: Well documented with a minimal API and JSX templates

Basic Example

import { signal } from "@hellajs/core";
import { mount } from "@hellajs/dom";

function Counter() {
  const count = signal(0);
  return <button onClick={() => count(count() + 1)}>{count}</button>;
}

mount(Counter, "#app");

Want something more advanced? Build a Todo App with HellaJS.

Reactive Packages

HellaJS is a modular collection of reactive packages, with @hellajs/core as a peer dependency.

Package Version Size
@hellajs/core NPM Version Gzipped Size
@hellajs/css NPM Version Gzipped Size
@hellajs/dom NPM Version Gzipped Size
@hellajs/resource NPM Version Gzipped Size
@hellajs/router NPM Version Gzipped Size
@hellajs/store NPM Version Gzipped Size

Getting Started

For more detailed information, tutorials, and API references, visit the HellaJS Documentation.

0