@qwik.dev/react 2.0.0-beta.45 → 2.0.0-beta.47

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.
@@ -1,4 +1,4 @@
1
- import { RenderOnce, SkipRender, Slot, _captures, _getConstProps, _getVarProps, _jsxSorted, _jsxSplit, _wrapProp, componentQrl, implicit$FirstArg, inlinedQrl, isBrowser, isServer, jsx, noSerialize, useOn, useOnDocument, useSignal, useStore, useStylesScopedQrl, useTaskQrl } from "@qwik.dev/core";
1
+ import { RenderOnce, SkipRender, Slot, _capturesObj, _getConstProps, _getVarProps, _jsxSorted, _jsxSplit, _wrapProp, componentQrl, implicit$FirstArg, inlinedQrl, isBrowser, isServer, jsx, noSerialize, useOn, useOnDocument, useSignal, useStore, useStylesScopedQrl, useTaskQrl } from "@qwik.dev/core";
2
2
  import { Fragment } from "@qwik.dev/core/jsx-runtime";
3
3
  import { SSRComment, SSRRaw, SSRStream, _addProjection, _getContextContainer, _getContextHostElement, _removeProjection, _setProjectionTarget, _updateProjectionProps } from "@qwik.dev/core/internal";
4
4
  import { createRoot, hydrateRoot } from "react-dom/client";
@@ -106,7 +106,7 @@ var getHostProps = (props) => {
106
106
  var useWakeupSignal = (props, opts = {}) => {
107
107
  const signal = useSignal(false);
108
108
  const activate = /*#__PURE__*/ inlinedQrl(() => {
109
- const signal = _captures[0];
109
+ let signal = _capturesObj._[0];
110
110
  return signal.value = true;
111
111
  }, "useWakeupSignal_activate_bbwdFkXhIMU", [signal]);
112
112
  const clientOnly = !!(props["client:only"] || props["qwik:only"] || opts?.clientOnly);
@@ -206,7 +206,7 @@ async function renderFromServer(Host, reactCmp$, scopeId, props, ref, slotRef, h
206
206
  }
207
207
  function qwikifyQrl(reactCmp$, opts) {
208
208
  return /*#__PURE__*/ componentQrl(/*#__PURE__*/ inlinedQrl((props) => {
209
- const opts = _captures[0], reactCmp$ = _captures[1];
209
+ let opts = _capturesObj._[0], reactCmp$ = _capturesObj._[1];
210
210
  const { scopeId } = useStylesScopedQrl(/*#__PURE__*/ inlinedQrl(`q-slot{display:none} q-slotc,q-slotc>q-slot{display:contents}`, "qwikifyQrl_component_useStylesScoped_ppvg9vpFqsY"));
211
211
  const hostRef = useSignal();
212
212
  const slotRef = useSignal();
@@ -215,7 +215,7 @@ function qwikifyQrl(reactCmp$, opts) {
215
215
  const hydrationKeys = useStore({});
216
216
  const TagName = opts?.tagName ?? "qwik-react";
217
217
  useTaskQrl(/*#__PURE__*/ inlinedQrl(async ({ track }) => {
218
- const hostRef = _captures[0], hydrationKeys = _captures[1], internalState = _captures[2], isClientOnly = _captures[3], props = _captures[4], reactCmp$ = _captures[5], scopeId = _captures[6], signal = _captures[7], slotRef = _captures[8];
218
+ let hostRef = _capturesObj._[0], hydrationKeys = _capturesObj._[1], internalState = _capturesObj._[2], isClientOnly = _capturesObj._[3], props = _capturesObj._[4], reactCmp$ = _capturesObj._[5], scopeId = _capturesObj._[6], signal = _capturesObj._[7], slotRef = _capturesObj._[8];
219
219
  const trackedProps = track(() => ({ ...props }));
220
220
  track(signal);
221
221
  if (!isBrowser) return;
@@ -257,7 +257,7 @@ function qwikifyQrl(reactCmp$, opts) {
257
257
  slotRef
258
258
  ]));
259
259
  useTaskQrl(/*#__PURE__*/ inlinedQrl(({ track, cleanup }) => {
260
- const internalState = _captures[0], signal = _captures[1];
260
+ let internalState = _capturesObj._[0], signal = _capturesObj._[1];
261
261
  track(signal);
262
262
  if (isBrowser) cleanup(() => {
263
263
  const root = internalState.value?.root;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1",
3
- "manifestHash": "a4wqn0",
3
+ "manifestHash": "l4b9vw",
4
4
  "options": {
5
5
  "target": "lib",
6
6
  "buildMode": "development",
@@ -13,8 +13,8 @@
13
13
  "mapping": {},
14
14
  "bundles": {
15
15
  "../index.qwik.mjs": {
16
- "size": 16526,
17
- "total": 16526,
16
+ "size": 16591,
17
+ "total": 16591,
18
18
  "origins": [
19
19
  "src/index.qwik.ts",
20
20
  "src/react/client.tsx",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qwik.dev/react",
3
3
  "description": "Qwik React allows adding React components into existing Qwik application",
4
- "version": "2.0.0-beta.45",
4
+ "version": "2.0.0-beta.47",
5
5
  "bugs": "https://github.com/QwikDev/qwik/issues",
6
6
  "devDependencies": {
7
7
  "@types/react": "19.2.14",
@@ -10,7 +10,7 @@
10
10
  "react-dom": "19.2.4",
11
11
  "typescript": "5.9.3",
12
12
  "vite": "8.2.1",
13
- "@qwik.dev/core": "2.0.0-beta.45"
13
+ "@qwik.dev/core": "2.0.0-beta.47"
14
14
  },
15
15
  "engines": {
16
16
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
@@ -38,7 +38,7 @@
38
38
  "react": "^18",
39
39
  "react-dom": "^18",
40
40
  "vite": ">=8 <9",
41
- "@qwik.dev/core": "2.0.0-beta.45"
41
+ "@qwik.dev/core": "2.0.0-beta.47"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"