From ebd69256f3e8b69f25144054e29ab04927869456 Mon Sep 17 00:00:00 2001 From: natxocc Date: Sat, 4 Apr 2026 14:58:41 +0200 Subject: [PATCH] update --- docs/api/quick.md | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/api/quick.md b/docs/api/quick.md index 00f4fab..4200d75 100644 --- a/docs/api/quick.md +++ b/docs/api/quick.md @@ -67,39 +67,6 @@ Explore the reactive building blocks of SigPro. --- -## Reactive Proxies ($$) - -The `$$()` function creates a deep reactive proxy that automatically tracks nested property access. - -```javascript -// Create a reactive object -const state = $$({ - user: { - name: "John", - address: { city: "Madrid" } - }, - count: 0 -}); - -// Watch changes automatically -$watch(() => { - console.log(state.user.name); // Auto-tracked - console.log(state.count); // Auto-tracked -}); - -// Mutations trigger updates -state.count = 5; // Triggers re-render -state.user.name = "Ana"; // Deep property also tracked! -``` - -**Benefits over manual signals:** -- No need for `$()` wrappers on every property -- Deep nesting works automatically -- Cleaner, more natural syntax -- Perfect for complex state objects - ---- - ## Element Constructors (Tags) SigPro provides **PascalCase** wrappers for all standard HTML5 tags (e.g., `Div`, `Span`, `Button`).