Lynx

genui / openui / reactive

reactive()

function reactive<T>(schema: T): z.ZodType<ACTION_STEPS<z.infer<T>>>

Mark a schema prop as reactive so runtime evaluation can preserve $bindings.

Type Parameters

Type Parameter
T extends ZodType

Parameters

ParameterType
schemaT

Returns

z.ZodType<ACTION_STEPS<z.infer<T>>>

Defined in

@lynx-js/genui/openui/src/core/runtime/reactive.ts:13

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.