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/react-webpack-plugin.reactloaderoptions.experimental_transformbuiltinattributenames.md.
This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/react-webpack-plugin > ReactLoaderOptions > experimental_transformBuiltinAttributeNames

ReactLoaderOptions.experimental_transformBuiltinAttributeNames property

Transform attribute names on Lynx builtin elements.

Signature:

experimental_transformBuiltinAttributeNames?: boolean | TransformBuiltinAttributeNamesOptions | undefined;

Remarks

false disables the conversion. true applies the default rule: onClick becomes bindtap, onCatchTap becomes catchtap, other onXXX names become bindxxx, and remaining camelCase names become dash-case. An object provides serializable custom rules. Exact entries in rename take precedence over preserve, followed by the fallback behavior selected by mode.

Explicit JSX attributes are transformed at compile time. Attributes supplied through JSX spreads are transformed at runtime with the same rules.