constructor<
Value = unknown
>(schema: SerializableSchema<Value, Value>, init: UntrackedValueInit| Name | Type | Description |
|---|---|---|
schema | SerializableSchema<Value, Value> | |
init | UntrackedValueInit |
Create a new untracked value state field.
Optional type schema describing the value (e.g. a Zod schema).
Optional options for tracking updates or enabling multiple-writes-per-step.