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