Home > @lynx-js/react-webpack-plugin > ReactLoaderOptions > experimental_transformBuiltinAttributeNames
ReactLoaderOptions.experimental_transformBuiltinAttributeNames property
Transform attribute names on Lynx builtin elements.
Signature:
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.

