@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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createClientComponentWrapper
3
- } from "./chunk-6324EM6Z.js";
3
+ } from "./chunk-7E6HGQXI.js";
4
4
  export {
5
5
  createClientComponentWrapper
6
6
  };
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  renderStream,
11
11
  renderToStream,
12
12
  setActiveRenderer
13
- } from "./chunk-6324EM6Z.js";
13
+ } from "./chunk-7E6HGQXI.js";
14
14
 
15
15
  // src/hydration.ts
16
16
  import { serializeProps } from "@cloudwerk/core/build";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudwerk/ui",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "description": "UI rendering abstraction for Cloudwerk",
5
5
  "repository": {
6
6
  "type": "git",