@cloudwerk/ui 0.15.5 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -216,6 +216,9 @@ function createClientComponentWrapper(Component, meta) {
|
|
|
216
216
|
}
|
|
217
217
|
const { componentId, bundlePath } = meta;
|
|
218
218
|
return function WrappedClientComponent(props) {
|
|
219
|
+
if (getActiveRendererName() === "react") {
|
|
220
|
+
return Component(props);
|
|
221
|
+
}
|
|
219
222
|
const rendered = Component(props);
|
|
220
223
|
const serializedProps = serializeProps(props);
|
|
221
224
|
const renderer = getActiveRenderer();
|
package/dist/client.js
CHANGED
package/dist/index.js
CHANGED