GenUI ReactLynx
English | 简体中文
ReactLynx generation turns a request into a complete interactive Lynx page. The
model returns App.tsx and App.css; your Node.js backend validates the response,
compiles Web and Native bundles, and publishes all emitted assets for your host.
Install
Generate and build
Source parsing can complete one or two missing closing braces when both file strings are already complete. It then applies the same strict two-file schema and size limits. Incomplete strings and other malformed JSON remain errors.
These APIs are also exported from @lynx-js/genui. Use the focused subpath in
Node.js tools and servers. Keep @lynx-js/genui/reactlynx external when bundling
those servers so its compiler worker stays beside its entry point.
Publish every asset using its name as a relative path and data as the bytes.
Load main.web.js with Lynx for Web or main.lynx.js with a Native Lynx host.
Compilation returns assets; storage, URLs, model calls, and transport belong to
your application. Render the completed bundle after compilation and publication.
Guides
Try generation and preview in the GenUI Playground.

