Seitu - Type-Safe Utilities
Core

Schema Store

createSchemaStore()

Creates a reactive schema store: state is validated on read, supports partial set, and falls back to default values when validation fails.

Examples

import {  } from 'seitu'
import * as  from 'zod'

const  = ({
  : .({ : .(), : .() }),
  : { : 0, : '' },
})
.()
.({ : 1, : 'alice' })
.(.)

On this page