From b1776bc66b1c4d943985aa7b1400956e0f50c03f Mon Sep 17 00:00:00 2001 From: Natxo <1172351+natxocc@users.noreply.github.com> Date: Mon, 16 Mar 2026 00:49:51 +0100 Subject: [PATCH] Update print statement from 'Hello' to 'Goodbye' --- Readme.md | 188 +++++++++++++++++++++++------------------------------- 1 file changed, 80 insertions(+), 108 deletions(-) diff --git a/Readme.md b/Readme.md index 7259380..bb1c06d 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,7 @@ A minimalist reactive library for building web interfaces with signals, effects, and native web components. No compilation, no virtual DOM, just pure JavaScript and intelligent reactivity. -**~2KB** gzipped ⚡ +**~3KB** gzipped ⚡ [](https://www.npmjs.com/package/sigpro) @@ -101,51 +101,23 @@ html` # SigPro API - Quick Reference -## Option 1: Individual Imports - | Function | Description | Example | |----------|-------------|---------| | **`$`** | Reactive signal (getter/setter) | `const count = $(0); count(5); count()` | -| **`$effect`** | Runs effect when dependencies change | `$effect(() => console.log(count()))` | -| **`$component`** | Creates reactive Web Component | `$component('my-menu', setup, ['items'])` | -| **`$fetch`** | Fetch wrapper with loading signal | `const data = await $fetch('/api', data, loading)` | -| **`$router`** | Hash-based router with params | `$router([{path:'/', component:Home}])` | -| **`$ws`** | WebSocket with reactive state | `const {status, messages} = $ws(url)` | -| **`$storage`** | Persistent signal (localStorage) | `const theme = $storage('theme', 'light')` | +| **`$.effect`** | Runs effect when dependencies change | `$.effect(() => console.log(count()))` | +| **`$.component`** | Creates reactive Web Component | `$.component('my-menu', setup, ['items'])` | +| **`$.fetch`** | Fetch wrapper with loading signal | `const data = await $.fetch('/api', data, loading)` | +| **`$.router`** | Hash-based router with params | `$.router([{path:'/', component:Home}])` | +| **`$.ws`** | WebSocket with reactive state | `const {status, messages} = $.ws(url)` | +| **`$.storage`** | Persistent signal (localStorage) | `const theme = $.storage('theme', 'light')` | | **`html`** | Template literal for reactive HTML | `` html`