@tanstack/solid-query-devtools 6.0.0-beta.5 → 6.0.0-beta.7

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,14 +1,14 @@
1
1
  import { createRenderEffect, untrack, runWithOwner, sharedConfig } from 'solid-js';
2
2
 
3
- // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.15_solid-js@2.0.0-beta.15/node_modules/@solidjs/web/dist/web.js
3
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/web.js
4
4
  var transparentOptions = {
5
5
  transparent: true,
6
6
  sync: true
7
7
  };
8
8
  var effect = (fn, effectFn, options) => createRenderEffect(fn, effectFn, options ? {
9
- transparent: true,
10
9
  sync: true,
11
- ...options
10
+ ...options,
11
+ transparent: !options.scope
12
12
  } : transparentOptions);
13
13
  function create(html, bypassGuard, flag) {
14
14
  const t = document.createElement("template");
@@ -26,20 +26,41 @@ function setAttribute(node, name, value) {
26
26
  }
27
27
  function style(node, value, prev) {
28
28
  if (!value) {
29
- if (prev) setAttribute(node, "style");
29
+ if (prev || node._$styles) {
30
+ setAttribute(node, "style");
31
+ node._$styles = void 0;
32
+ }
30
33
  return;
31
34
  }
32
35
  const nodeStyle = node.style;
33
- if (typeof value === "string") return nodeStyle.cssText = value;
34
- typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
35
- prev || (prev = {});
36
+ if (typeof value === "string") {
37
+ node._$styles = void 0;
38
+ return nodeStyle.cssText = value;
39
+ }
40
+ if (typeof prev === "string") {
41
+ nodeStyle.cssText = "";
42
+ prev = void 0;
43
+ }
44
+ let applied = node._$styles;
45
+ if (!applied) {
46
+ applied = node._$styles = prev ? {
47
+ ...prev
48
+ } : {};
49
+ }
36
50
  let v, s;
51
+ for (s in applied) {
52
+ if (value[s] == null) {
53
+ nodeStyle.removeProperty(s);
54
+ delete applied[s];
55
+ }
56
+ }
37
57
  for (s in value) {
38
58
  v = value[s];
39
- if (v !== prev[s]) nodeStyle.setProperty(s, v);
40
- delete prev[s];
59
+ if (v != null && v !== applied[s]) {
60
+ nodeStyle.setProperty(s, v);
61
+ applied[s] = v;
62
+ }
41
63
  }
42
- for (s in prev) value[s] == null && nodeStyle.removeProperty(s);
43
64
  }
44
65
  function applyRef(r, element) {
45
66
  Array.isArray(r) ? r.flat(Infinity).forEach((f) => f && f(element)) : r(element);
@@ -49,8 +70,24 @@ function ref(fn, element) {
49
70
  runWithOwner(null, () => applyRef(resolved, element));
50
71
  }
51
72
  function isHydrating(node) {
52
- return sharedConfig.hydrating && (!node || node.isConnected);
73
+ if (!sharedConfig.hydrating) return false;
74
+ if (!node || node.isConnected) return true;
75
+ const roots = sharedConfig.claimRoots;
76
+ if (roots) {
77
+ for (let i = 0; i < roots.length; i++) {
78
+ if (roots[i].contains(node)) return true;
79
+ }
80
+ }
81
+ return false;
53
82
  }
83
+ var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
84
+ var ResponseEnvelope = class {
85
+ constructor(response, value) {
86
+ this.response = response;
87
+ this.value = value;
88
+ }
89
+ };
90
+ ResponseEnvelope.prototype[ENVELOPE] = true;
54
91
  var isServer = false;
55
92
  var isDev = false;
56
93
 
@@ -1,14 +1,14 @@
1
1
  import { createRenderEffect, untrack, runWithOwner, sharedConfig } from 'solid-js';
2
2
 
3
- // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.15_solid-js@2.0.0-beta.15/node_modules/@solidjs/web/dist/dev.js
3
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/dev.js
4
4
  var transparentOptions = {
5
5
  transparent: true,
6
6
  sync: true
7
7
  };
8
8
  var effect = (fn, effectFn, options) => createRenderEffect(fn, effectFn, options ? {
9
- transparent: true,
10
9
  sync: true,
11
- ...options
10
+ ...options,
11
+ transparent: !options.scope
12
12
  } : transparentOptions);
13
13
  function create(html, bypassGuard, flag) {
14
14
  if (isHydrating() && !bypassGuard) throw new Error("Failed attempt to create new DOM elements during hydration. Check that the libraries you are using support hydration.");
@@ -28,20 +28,41 @@ function setAttribute(node, name, value) {
28
28
  }
29
29
  function style(node, value, prev) {
30
30
  if (!value) {
31
- if (prev) setAttribute(node, "style");
31
+ if (prev || node._$styles) {
32
+ setAttribute(node, "style");
33
+ node._$styles = void 0;
34
+ }
32
35
  return;
33
36
  }
34
37
  const nodeStyle = node.style;
35
- if (typeof value === "string") return nodeStyle.cssText = value;
36
- typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
37
- prev || (prev = {});
38
+ if (typeof value === "string") {
39
+ node._$styles = void 0;
40
+ return nodeStyle.cssText = value;
41
+ }
42
+ if (typeof prev === "string") {
43
+ nodeStyle.cssText = "";
44
+ prev = void 0;
45
+ }
46
+ let applied = node._$styles;
47
+ if (!applied) {
48
+ applied = node._$styles = prev ? {
49
+ ...prev
50
+ } : {};
51
+ }
38
52
  let v, s;
53
+ for (s in applied) {
54
+ if (value[s] == null) {
55
+ nodeStyle.removeProperty(s);
56
+ delete applied[s];
57
+ }
58
+ }
39
59
  for (s in value) {
40
60
  v = value[s];
41
- if (v !== prev[s]) nodeStyle.setProperty(s, v);
42
- delete prev[s];
61
+ if (v != null && v !== applied[s]) {
62
+ nodeStyle.setProperty(s, v);
63
+ applied[s] = v;
64
+ }
43
65
  }
44
- for (s in prev) value[s] == null && nodeStyle.removeProperty(s);
45
66
  }
46
67
  function applyRef(r, element) {
47
68
  Array.isArray(r) ? r.flat(Infinity).forEach((f) => f && f(element)) : r(element);
@@ -51,8 +72,24 @@ function ref(fn, element) {
51
72
  runWithOwner(null, () => applyRef(resolved, element));
52
73
  }
53
74
  function isHydrating(node) {
54
- return sharedConfig.hydrating && (!node || node.isConnected);
75
+ if (!sharedConfig.hydrating) return false;
76
+ if (!node || node.isConnected) return true;
77
+ const roots = sharedConfig.claimRoots;
78
+ if (roots) {
79
+ for (let i = 0; i < roots.length; i++) {
80
+ if (roots[i].contains(node)) return true;
81
+ }
82
+ }
83
+ return false;
55
84
  }
85
+ var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
86
+ var ResponseEnvelope = class {
87
+ constructor(response, value) {
88
+ this.response = response;
89
+ this.value = value;
90
+ }
91
+ };
92
+ ResponseEnvelope.prototype[ENVELOPE] = true;
56
93
  var isServer = false;
57
94
  var isDev = true;
58
95
 
package/build/dev.cjs CHANGED
@@ -31,20 +31,41 @@ function setAttribute(node, name, value) {
31
31
  }
32
32
  function style(node, value, prev) {
33
33
  if (!value) {
34
- if (prev) setAttribute(node, "style");
34
+ if (prev || node._$styles) {
35
+ setAttribute(node, "style");
36
+ node._$styles = void 0;
37
+ }
35
38
  return;
36
39
  }
37
40
  const nodeStyle = node.style;
38
- if (typeof value === "string") return nodeStyle.cssText = value;
39
- typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
40
- prev || (prev = {});
41
+ if (typeof value === "string") {
42
+ node._$styles = void 0;
43
+ return nodeStyle.cssText = value;
44
+ }
45
+ if (typeof prev === "string") {
46
+ nodeStyle.cssText = "";
47
+ prev = void 0;
48
+ }
49
+ let applied = node._$styles;
50
+ if (!applied) {
51
+ applied = node._$styles = prev ? {
52
+ ...prev
53
+ } : {};
54
+ }
41
55
  let v, s;
56
+ for (s in applied) {
57
+ if (value[s] == null) {
58
+ nodeStyle.removeProperty(s);
59
+ delete applied[s];
60
+ }
61
+ }
42
62
  for (s in value) {
43
63
  v = value[s];
44
- if (v !== prev[s]) nodeStyle.setProperty(s, v);
45
- delete prev[s];
64
+ if (v != null && v !== applied[s]) {
65
+ nodeStyle.setProperty(s, v);
66
+ applied[s] = v;
67
+ }
46
68
  }
47
- for (s in prev) value[s] == null && nodeStyle.removeProperty(s);
48
69
  }
49
70
  function applyRef(r, element) {
50
71
  Array.isArray(r) ? r.flat(Infinity).forEach((f) => f && f(element)) : r(element);
@@ -54,20 +75,36 @@ function ref(fn, element) {
54
75
  solidJs.runWithOwner(null, () => applyRef(resolved, element));
55
76
  }
56
77
  function isHydrating(node) {
57
- return solidJs.sharedConfig.hydrating && (!node || node.isConnected);
78
+ if (!solidJs.sharedConfig.hydrating) return false;
79
+ if (!node || node.isConnected) return true;
80
+ const roots = solidJs.sharedConfig.claimRoots;
81
+ if (roots) {
82
+ for (let i = 0; i < roots.length; i++) {
83
+ if (roots[i].contains(node)) return true;
84
+ }
85
+ }
86
+ return false;
58
87
  }
59
- var transparentOptions, effect, isServer, isDev;
88
+ var transparentOptions, effect, ENVELOPE, ResponseEnvelope, isServer, isDev;
60
89
  var init_dev = __esm({
61
- "../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.15_solid-js@2.0.0-beta.15/node_modules/@solidjs/web/dist/dev.js"() {
90
+ "../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/dev.js"() {
62
91
  transparentOptions = {
63
92
  transparent: true,
64
93
  sync: true
65
94
  };
66
95
  effect = (fn, effectFn, options) => solidJs.createRenderEffect(fn, effectFn, options ? {
67
- transparent: true,
68
96
  sync: true,
69
- ...options
97
+ ...options,
98
+ transparent: !options.scope
70
99
  } : transparentOptions);
100
+ ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
101
+ ResponseEnvelope = class {
102
+ constructor(response, value) {
103
+ this.response = response;
104
+ this.value = value;
105
+ }
106
+ };
107
+ ResponseEnvelope.prototype[ENVELOPE] = true;
71
108
  isServer = false;
72
109
  isDev = true;
73
110
  }
package/build/dev.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isDev, isServer } from './chunk/OIFXIFGE.js';
1
+ import { isDev, isServer } from './chunk/RY5ZMUBR.js';
2
2
  import { createSignal, omit, sharedConfig, onSettled, createMemo, untrack } from 'solid-js';
3
3
 
4
4
  function clientOnly(fn) {
@@ -19,10 +19,10 @@ function clientOnly(fn) {
19
19
  }
20
20
 
21
21
  // src/index.tsx
22
- var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/T3N3FX25.js')) : function() {
22
+ var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/LSIX7NXW.js')) : function() {
23
23
  return null;
24
24
  };
25
- var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/5CAQ2WGQ.js')) : function() {
25
+ var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/O2665ZNH.js')) : function() {
26
26
  return null;
27
27
  };
28
28
 
package/build/dev.jsx CHANGED
@@ -1,30 +1,38 @@
1
- // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.15_solid-js@2.0.0-beta.15/node_modules/@solidjs/web/dist/dev.js
2
- import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, getOwner, createEffect, $DEVCOMP, enableHydration, enforceLoadingBoundary, flush } from "solid-js";
1
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/dev.js
2
+ import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, createOwner, createSignal, onSettled, $DEVCOMP, enableHydration, enforceLoadingBoundary, flush, getOwner, createEffect } from "solid-js";
3
3
  import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, untrack as untrack2 } from "solid-js";
4
+ var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
5
+ var ResponseEnvelope = class {
6
+ constructor(response, value) {
7
+ this.response = response;
8
+ this.value = value;
9
+ }
10
+ };
11
+ ResponseEnvelope.prototype[ENVELOPE] = true;
4
12
  var isServer = false;
5
13
  var isDev = true;
6
14
 
7
15
  // src/clientOnly.tsx
8
16
  import {
9
17
  createMemo as createMemo2,
10
- createSignal,
18
+ createSignal as createSignal2,
11
19
  omit as omit2,
12
- onSettled,
20
+ onSettled as onSettled2,
13
21
  sharedConfig as sharedConfig2,
14
22
  untrack as untrack3
15
23
  } from "solid-js";
16
24
  function clientOnly(fn) {
17
25
  if (isServer)
18
26
  return (props) => props.fallback;
19
- const [comp, setComp] = createSignal();
27
+ const [comp, setComp] = createSignal2();
20
28
  fn().then((m) => setComp(() => m.default));
21
29
  return (props) => {
22
30
  let Comp;
23
31
  let m;
24
32
  const rest = omit2(props, "fallback");
25
33
  if ((Comp = comp()) && !sharedConfig2.hydrating) return Comp(rest);
26
- const [mounted, setMounted] = createSignal(!sharedConfig2.hydrating);
27
- onSettled(() => {
34
+ const [mounted, setMounted] = createSignal2(!sharedConfig2.hydrating);
35
+ onSettled2(() => {
28
36
  setMounted(true);
29
37
  });
30
38
  return createMemo2(
@@ -1,4 +1,4 @@
1
- import { ref, template } from '../chunk/5YUDKRGO.js';
1
+ import { ref, template } from '../chunk/P2Q55WHM.js';
2
2
  import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
3
3
  import { useQueryClient, onlineManager } from '@tanstack/solid-query';
4
4
  import { TanstackQueryDevtools } from '@tanstack/query-devtools';
@@ -1,4 +1,4 @@
1
- import { ref, template } from '../chunk/OIFXIFGE.js';
1
+ import { ref, template } from '../chunk/RY5ZMUBR.js';
2
2
  import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
3
3
  import { useQueryClient, onlineManager } from '@tanstack/solid-query';
4
4
  import { TanstackQueryDevtools } from '@tanstack/query-devtools';
@@ -1,4 +1,4 @@
1
- import { ref, effect, style, template } from '../chunk/5YUDKRGO.js';
1
+ import { ref, effect, style, template } from '../chunk/P2Q55WHM.js';
2
2
  import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
3
3
  import { useQueryClient, onlineManager } from '@tanstack/solid-query';
4
4
  import { TanstackQueryDevtoolsPanel } from '@tanstack/query-devtools';
@@ -1,4 +1,4 @@
1
- import { ref, effect, style, template } from '../chunk/OIFXIFGE.js';
1
+ import { ref, effect, style, template } from '../chunk/RY5ZMUBR.js';
2
2
  import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
3
3
  import { useQueryClient, onlineManager } from '@tanstack/solid-query';
4
4
  import { TanstackQueryDevtoolsPanel } from '@tanstack/query-devtools';
package/build/index.cjs CHANGED
@@ -29,20 +29,41 @@ function setAttribute(node, name, value) {
29
29
  }
30
30
  function style(node, value, prev) {
31
31
  if (!value) {
32
- if (prev) setAttribute(node, "style");
32
+ if (prev || node._$styles) {
33
+ setAttribute(node, "style");
34
+ node._$styles = void 0;
35
+ }
33
36
  return;
34
37
  }
35
38
  const nodeStyle = node.style;
36
- if (typeof value === "string") return nodeStyle.cssText = value;
37
- typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
38
- prev || (prev = {});
39
+ if (typeof value === "string") {
40
+ node._$styles = void 0;
41
+ return nodeStyle.cssText = value;
42
+ }
43
+ if (typeof prev === "string") {
44
+ nodeStyle.cssText = "";
45
+ prev = void 0;
46
+ }
47
+ let applied = node._$styles;
48
+ if (!applied) {
49
+ applied = node._$styles = prev ? {
50
+ ...prev
51
+ } : {};
52
+ }
39
53
  let v, s;
54
+ for (s in applied) {
55
+ if (value[s] == null) {
56
+ nodeStyle.removeProperty(s);
57
+ delete applied[s];
58
+ }
59
+ }
40
60
  for (s in value) {
41
61
  v = value[s];
42
- if (v !== prev[s]) nodeStyle.setProperty(s, v);
43
- delete prev[s];
62
+ if (v != null && v !== applied[s]) {
63
+ nodeStyle.setProperty(s, v);
64
+ applied[s] = v;
65
+ }
44
66
  }
45
- for (s in prev) value[s] == null && nodeStyle.removeProperty(s);
46
67
  }
47
68
  function applyRef(r, element) {
48
69
  Array.isArray(r) ? r.flat(Infinity).forEach((f) => f && f(element)) : r(element);
@@ -52,20 +73,36 @@ function ref(fn, element) {
52
73
  solidJs.runWithOwner(null, () => applyRef(resolved, element));
53
74
  }
54
75
  function isHydrating(node) {
55
- return solidJs.sharedConfig.hydrating && (!node || node.isConnected);
76
+ if (!solidJs.sharedConfig.hydrating) return false;
77
+ if (!node || node.isConnected) return true;
78
+ const roots = solidJs.sharedConfig.claimRoots;
79
+ if (roots) {
80
+ for (let i = 0; i < roots.length; i++) {
81
+ if (roots[i].contains(node)) return true;
82
+ }
83
+ }
84
+ return false;
56
85
  }
57
- var transparentOptions, effect, isServer, isDev;
86
+ var transparentOptions, effect, ENVELOPE, ResponseEnvelope, isServer, isDev;
58
87
  var init_web = __esm({
59
- "../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.15_solid-js@2.0.0-beta.15/node_modules/@solidjs/web/dist/web.js"() {
88
+ "../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/web.js"() {
60
89
  transparentOptions = {
61
90
  transparent: true,
62
91
  sync: true
63
92
  };
64
93
  effect = (fn, effectFn, options) => solidJs.createRenderEffect(fn, effectFn, options ? {
65
- transparent: true,
66
94
  sync: true,
67
- ...options
95
+ ...options,
96
+ transparent: !options.scope
68
97
  } : transparentOptions);
98
+ ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
99
+ ResponseEnvelope = class {
100
+ constructor(response, value) {
101
+ this.response = response;
102
+ this.value = value;
103
+ }
104
+ };
105
+ ResponseEnvelope.prototype[ENVELOPE] = true;
69
106
  isServer = false;
70
107
  isDev = false;
71
108
  }
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isDev, isServer } from './chunk/5YUDKRGO.js';
1
+ import { isDev, isServer } from './chunk/P2Q55WHM.js';
2
2
  import { createSignal, omit, sharedConfig, onSettled, createMemo, untrack } from 'solid-js';
3
3
 
4
4
  function clientOnly(fn) {
@@ -19,10 +19,10 @@ function clientOnly(fn) {
19
19
  }
20
20
 
21
21
  // src/index.tsx
22
- var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/FNDI35UR.js')) : function() {
22
+ var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/2G7DEE34.js')) : function() {
23
23
  return null;
24
24
  };
25
- var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/DXOBITS6.js')) : function() {
25
+ var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/K27KNWGT.js')) : function() {
26
26
  return null;
27
27
  };
28
28
 
package/build/index.jsx CHANGED
@@ -1,30 +1,38 @@
1
- // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.15_solid-js@2.0.0-beta.15/node_modules/@solidjs/web/dist/web.js
2
- import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, getOwner, createEffect, enableHydration, flush } from "solid-js";
1
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/web.js
2
+ import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, createOwner, createSignal, onSettled, enableHydration, flush, getOwner, createEffect } from "solid-js";
3
3
  import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, untrack as untrack2 } from "solid-js";
4
+ var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
5
+ var ResponseEnvelope = class {
6
+ constructor(response, value) {
7
+ this.response = response;
8
+ this.value = value;
9
+ }
10
+ };
11
+ ResponseEnvelope.prototype[ENVELOPE] = true;
4
12
  var isServer = false;
5
13
  var isDev = false;
6
14
 
7
15
  // src/clientOnly.tsx
8
16
  import {
9
17
  createMemo as createMemo2,
10
- createSignal,
18
+ createSignal as createSignal2,
11
19
  omit as omit2,
12
- onSettled,
20
+ onSettled as onSettled2,
13
21
  sharedConfig as sharedConfig2,
14
22
  untrack as untrack3
15
23
  } from "solid-js";
16
24
  function clientOnly(fn) {
17
25
  if (isServer)
18
26
  return (props) => props.fallback;
19
- const [comp, setComp] = createSignal();
27
+ const [comp, setComp] = createSignal2();
20
28
  fn().then((m) => setComp(() => m.default));
21
29
  return (props) => {
22
30
  let Comp;
23
31
  let m;
24
32
  const rest = omit2(props, "fallback");
25
33
  if ((Comp = comp()) && !sharedConfig2.hydrating) return Comp(rest);
26
- const [mounted, setMounted] = createSignal(!sharedConfig2.hydrating);
27
- onSettled(() => {
34
+ const [mounted, setMounted] = createSignal2(!sharedConfig2.hydrating);
35
+ onSettled2(() => {
28
36
  setMounted(true);
29
37
  });
30
38
  return createMemo2(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-query-devtools",
3
- "version": "6.0.0-beta.5",
3
+ "version": "6.0.0-beta.7",
4
4
  "description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -49,18 +49,19 @@
49
49
  "devDependencies": {
50
50
  "@babel/core": "^7.28.0",
51
51
  "@babel/preset-typescript": "^7.18.6",
52
+ "@solidjs/signals": "^2.0.0-beta.29",
52
53
  "@solidjs/testing-library": "^0.8.10",
53
- "@solidjs/web": "2.0.0-beta.15",
54
- "babel-preset-solid": "2.0.0-beta.15",
54
+ "@solidjs/web": "2.0.0-beta.29",
55
+ "babel-preset-solid": "2.0.0-beta.29",
55
56
  "npm-run-all2": "^5.0.0",
56
- "solid-js": "2.0.0-beta.15",
57
+ "solid-js": "2.0.0-beta.29",
57
58
  "tsup-preset-solid": "^2.2.0",
58
- "vite-plugin-solid": "3.0.0-next.5",
59
- "@tanstack/solid-query": "6.0.0-beta.5"
59
+ "vite-plugin-solid": "3.0.0-next.21",
60
+ "@tanstack/solid-query": "6.0.0-beta.7"
60
61
  },
61
62
  "peerDependencies": {
62
63
  "solid-js": ">=2.0.0-beta.0 <3.0.0",
63
- "@tanstack/solid-query": "^6.0.0-beta.5"
64
+ "@tanstack/solid-query": "^6.0.0-beta.7"
64
65
  },
65
66
  "scripts": {
66
67
  "clean": "premove ./build ./coverage ./dist-ts",