Files
sigpro/docs
natxocc 5bf1ecd4f0
Some checks failed
Deploy Docs to Synology / deploy (push) Successful in 3s
Publish to NPM / build (release) Failing after 13s
Actualizar docs/README.md
2026-04-26 16:05:17 +02:00
..
2026-04-26 15:38:10 +02:00
2026-04-06 18:28:07 +02:00
2026-04-25 20:28:38 +02:00
2026-03-27 16:26:35 +01:00
2026-04-26 15:38:10 +02:00
2026-04-26 15:38:10 +02:00
2026-03-20 01:11:32 +01:00
2026-04-26 16:05:17 +02:00
2026-04-26 15:39:07 +02:00

SigPro Logo

SigPro

Atomic Unified Reactive Engine
"The efficiency of direct DOM manipulation with the elegance of functional reactivity."

FUNCTIONAL

No strings. No templates. Pure JS function calls for instant DOM mounting.

ATOMIC

Finegrained signals update exactly what changes. No VDOM diffing overhead.

ULTRATHIN

Sub3KB runtime. Infinitely smaller bundle than React, Vue or even Svelte.

COMPILERFREE

Standard Vanilla JS. What you write is what the browser executes. Period.

Functional DOM Construction

SigPro replaces slow "Template Parsing" with HighEfficiency Function Calls. While other frameworks force the browser to parse strings of HTML or execute complex JSX transformations, SigPro uses a direct functional approach.

FeatureStandard HTML / JSXSigPro Functional
Syntax<div>Hello</div>div("Hello") (or h('div', "Hello"))
ProcessingParse → Diff → PatchDirect API Call
OverheadHigh (VDOM / Parser)Zero
ReactivityComponentwideAtomic (Nodelevel)

Less Code, More Power

By sharing a minuscule runtime, your final application bundle is infinitely smaller.

  • React/Vue: You ship a heavy orchestrator (~3090KB) just to say "Hello World".
  • Solid/Svelte: You still depend on a compilation step that generates extra boilerplate.
  • SigPro: You ship Pure Vanilla JS. The runtime is so small that it often costs less than a single highres icon.

Two Ways to Use SigPro

🎯 Modern ESM (recommended): Import only the functions you need zero global pollution.

import { $, div, button, mount } from 'sigpro';
const count = $(0);
mount(() => div([ button({ onclick: () => count(count()+1) }, count) ]), '#app');

🌍 Classic Global (IIFE): Load the script and everything is automatically on window no imports needed.

<script src="https://cdn.jsdelivr.net/npm/sigpro@1.2.19/dist/sigpro.js"></script>
<script>
const count = $(0);
mount(() => div([ button({ onclick: () => count(count()+1) }, count) ]), '#app');
</script>

🔧 ESM + Global injection: If you want the global helpers but still use type="module", call sigpro().

<script type="module">
import { sigpro } from 'https://cdn.jsdelivr.net/npm/sigpro@latest/+esm';
sigpro();   // now $, div, button, etc. are global
</script>

Precision Engineering

1. Functional Efficiency

div(), button(), span()… These aren't just wrappers; they are preoptimized constructors. When you call div({ class: 'btn' }, "Click"), SigPro creates the element and attaches its reactive listeners in a single, surgical operation.

2. The "NoBundle" Bundle

Because SigPro is so small, it is the only engine where the more code you write, the more the efficiency gap grows. While others grow linearly with components and framework overhead, SigPro stays flat, leveraging the native power of modern browser engines.

3. Shared Runtime

All components share the same atomic engine. One signal can update a single character in a paragraph across 100 components without ever reevaluating the component functions themselves.

Kill the Bloat.

Stop shipping 100KB of "Framework" for 2KB of business logic. SigPro gives you the tools to build ultrafast, modern apps with True Vanilla Performance.

Precision Reactive Engine — NatxoCC