Skip to content
virentia

Your next framework to create web applications

Build reactive models that bring your application’s state and behavior together, then connect them to your interface.

pnpm add @virentia/core

Virentia is open source and available under the MIT license.

Let your model hold the application together.

Virentia connects state, events, and effects so your logic stays clear as your application grows.

How it works

Start with a model and connect your interface.

In this counter, an event triggers a reaction that updates the store. The React component uses the model while the counter’s behavior stays inside it.

Explore the core
model.ts
ts
import { event, reaction, store } from "@virentia/core";

export function createCounterModel() {
  const incremented = event<void>();
  const count = store(0);

  reaction({
    on: incremented,
    run() {
      count.value += 1;
    },
  });

  return { count, incremented };
}

Performance

Measure performance across the stack.

From changing data to updating the interface. Compare Virentia with Immer, MobX, Reatom, Effector, Redux, React, Vue, Solid, and $mol, inspect the conditions, and run the same code yourself.

Repeated writes to a large array

An array of 50,000 objects lives across updates. Each update increments one field on a selected set of items.

Each update changes 1,000 evenly spaced items.

How mutable works
Time per updatems · Lower is better
Virentia draft0.53 ms
Mutative1 ms
Immer12.7 ms

Laptop: Apple M1 Max, 10 cores · Node 24.14.0
Median of 5 separate, warmed-up processes.

Virentia draft reuses owned objects; Immer and Mutative produce immutable results. Freezing is disabled in both libraries. This measures the draft engine without reactive subscribers or the full store runtime.

Measured on November 8, 2026. Library snapshot fc3378e plus uncommitted working-tree changes.

The ecosystem

Choose the tools your application needs.

Use the reactive core on its own or add packages that connect it to your interface and existing models.

Build your next application with Virentia.

Follow the guide to create your first model in TypeScript.

Get started