Seitu
Seitu
Documentation
IntroductionAI agentsCustom primitives

Primitives

Core
ComputedDebounced FnDebouncedSchema StoreStoreSubscriptionThrottled FnThrottled
Web
Cookie ValueElement SizeIndexedDBIs OnlineMedia QueryScroll StateWeb Storage ValueWeb Storage

Frameworks

React
ComponentsHooks
Vue
Composables
Solid
ComponentsHooks
Svelte
Hooks
Core

Store

Creates a reactive store with get(), set(), and subscribe().

createStore()

import {  } from 'seitu'

const  = ({ : 0 })
.( => ({ ..., : . + 1 }))
.( => .())
.() // { count: 1 }
Edit on GitHub

Last updated on

Schema Store

Reactive store validated on read.

Subscription

Subscribe/notify primitive used by every reactive handle.

On this page

createStore()

GitHubletstri/seitu

561