Skip to content

Concepts

HellaJS is designed to be comprehensive, lightweight, and simple. Inspiration for the reactive API comes from Angular, while SolidJS influences the functional approach and granular DOM updates. It’s tree-shakeable with zero dependencies and produces small bundles. HellaJS should be compatible with any bundler, but there’s no need for a compiler or any other build step.

Create powerful state using reactive functions like signal, computed, effect, store, and resource. Reactivity is highly composable and works well for basic or complex state management.

Build templates using proxy html elements. Use the spread operator to define attributes and child nodes. Handle lists with forEach and conditional logic as if/else / switch with show.

There’s no virtual DOM and mount is a one-time render. Updates are triggered only for the parts of the DOM that depend on the changed state, minimizing unnecessary re-renders.