Home > @lynx-js/react-rsbuild-plugin > PluginReactLynxOptions > compat

PluginReactLynxOptions.compat property

The compat option controls compatibilities with ReactLynx2.0.

Signature:

compat?: Partial<CompatVisitorConfig> & {
        disableCreateSelectorQueryIncompatibleWarning?: boolean;
    } | undefined;

Remarks

These options should only be used for migrating from ReactLynx2.0.

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.