For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/genui/openui/functions/reactive.md.
Lynx
  • English
  • 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.