Home > @lynx-js/react-rsbuild-plugin > CompatVisitorConfig > addComponentElement
Controls whether to add wrapper elements for components
Signature:
Default value: false
Add a <view>
wrapper element for all components during runtime.
Only add component element during compilation. Note that this only take effects on Component
imported from CompatVisitorConfig.oldRuntimePkg.