schema-components - v3.7.0
    Preparing search index...

    Function dispatchRenderField

    • Framework-agnostic dispatch loop shared by the React, HTML, and future adapters. See the module-level documentation for the fixed dispatch order.

      The dispatcher itself is intentionally side-effect free — it never imports React, never builds HTML strings, and never reads any global state. Adapter-specific work (widget registry lookup, recursion sentinel construction, result coercion, error wrapping) is supplied via the DispatchConfig argument.

      Type Parameters

      • Props

        The per-field props shape.

      • Output

        The adapter's per-field output type.

      • Resolver

        The resolver shape.

      Parameters

      Returns Output

      The output produced by the matched widget, render function, or fallback — exactly one of the four dispatch steps always emits a value.