You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@getforma/core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getforma/core

Real DOM reactive library — fine-grained signals, islands architecture, SSR hydration. No virtual DOM, no diffing. ~15KB gzipped.

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
119
-92.96%
Maintainers
1
Weekly downloads
 
Created
Source

FormaJS

CI npm License: MIT

Reactive DOM library with fine-grained signals, islands architecture, and SSR hydration. ~15KB gzipped.

Install

npm install @getforma/core

Quick Start

import { createSignal, h, mount } from '@getforma/core';

const [count, setCount] = createSignal(0);

mount(() =>
  h('button', { onClick: () => setCount(count() + 1) },
    () => `Clicked ${count()} times`
  ),
  '#app'
);

Features

  • Real DOMh() creates actual DOM elements with reactive bindings. No virtual DOM, no diffing overhead.
  • Fine-grained reactivity — signals, effects, computed values via alien-signals. Only what changed updates.
  • Islands architectureactivateIslands() for independent hydration of server-rendered HTML regions.
  • SSR hydrationadoptNode() walks server-rendered DOM and attaches reactive bindings without re-creating elements.
  • Conditional renderingcreateShow(), createSwitch() with branch caching for O(1) toggle.
  • List renderingcreateList() with LIS-based keyed reconciliation, handles 50K+ rows.
  • State managementcreateStore() with deep reactivity, history, persistence.

Ecosystem

  • forma — Rust server framework (forma-ir + forma-server)
  • forma-tools — Build tooling (@getforma/compiler + @getforma/build)
  • create-forma-app — CLI scaffolder

License

MIT

Keywords

signals

FAQs

Package last updated on 13 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts