A Vue3 Low-Code Form Engine That Runs Linkage on Reactivity, Not DOM Nodes
Traditional low-code form linkage forces developers into imperative get/set node APIs that break reactivity and create maintenance debt. Moving linkage into Vue3's native reactivity chain means forms behave predictably, scale across complex multi-source dependencies, and produce schemas that AI agents can actually manipulate.
Most Vue3 low-code form builders still rely on imperative node APIs — getWidgetByName, setValue — to wire up field interactions. A new self-developed engine instead builds linkage directly on Vue3's reactivity system. Field values, visibility, and cascading rules all sit on the same reactive scope chain; changing data drives the UI without touching control nodes. Expressions map to computed properties, single-source linkage aligns with watch, and multi-source scenarios use a plugin system that injects computed-property chains watched by the engine. The result is a configuration experience that mirrors how a Vue developer writes a .vue file, eliminating common data misalignment and maintenance headaches. The approach also produces a cleaner JSON schema, which the author argues makes a better foundation for AI agents to read, write, and maintain no-code forms.
The core shift is not just ergonomic — it changes what a low-code schema is. A node-API schema describes UI widgets and their imperative wiring; a data-driven schema describes reactive data relationships. The latter is a graph an AI agent can reason about, while the former is a script it must execute.
The plugin system's two-layer watching (Vue computed for exp internals, engine watcher for handler triggers) is a practical pattern for any framework that needs to compose reactive chains without leaking subscriptions or causing redundant re-computation.
The lifecycle management of watchers — pausing on unmount, re-subscribing on re-mount, bulk cleanup on source deletion — addresses the exact class of memory and stale-reference bugs that plague long-running low-code form editors.