Seitu
Core

Schema Store

Reactive store validated on read.

createSchemaStore()

Invalid values fall back to defaultValue. Validation is memoized on the raw state reference.

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

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

Last updated on

On this page