update Docs
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s

This commit is contained in:
2026-04-28 19:05:23 +02:00
parent 4526726b1b
commit d46c5ca3af
10 changed files with 20 additions and 36 deletions

View File

@@ -100,8 +100,7 @@ h('div', {}, [
Tag helpers are **not exported individually** from the core. To use them globally without the `h(...)` wrapper, activate the sideeffect module:
```javascript
import { sigpro } from "sigpro"
sigpro(); // now window.div, window.span, etc. are available
import "sigpro"
// You can now write:
div({ class: 'container' }, [
@@ -225,8 +224,7 @@ You never need to manually clean up just write reactive code.
## Full Example Counter with Persistence
```javascript
import { sigpro } from 'sigpro';
sigpro(); // All in global window
import 'sigpro';
const count = $(0, 'counter') // persists in localStorage