@instantdb/react-common 0.22.88-experimental.drewh-ssr.20248787082.1 → 0.22.88-experimental.drewh-fix-explorer.20248904996.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantdb/react-common",
3
- "version": "0.22.88-experimental.drewh-ssr.20248787082.1",
3
+ "version": "0.22.88-experimental.drewh-fix-explorer.20248904996.1",
4
4
  "description": "Instant DB shared components for React and React Native",
5
5
  "homepage": "https://github.com/instantdb/instant/tree/main/client/packages/react-common",
6
6
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "react": ">=16"
54
54
  },
55
55
  "dependencies": {
56
- "@instantdb/core": "0.22.88-experimental.drewh-ssr.20248787082.1",
57
- "@instantdb/version": "0.22.88-experimental.drewh-ssr.20248787082.1"
56
+ "@instantdb/core": "0.22.88-experimental.drewh-fix-explorer.20248904996.1",
57
+ "@instantdb/version": "0.22.88-experimental.drewh-fix-explorer.20248904996.1"
58
58
  },
59
59
  "scripts": {
60
60
  "test": "vitest",
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  import {
3
2
  // types
4
3
  Auth,
@@ -9,6 +8,7 @@ import {
9
8
  type ConnectionStatus,
10
9
  type TransactionChunk,
11
10
  type RoomSchemaShape,
11
+ type InstaQLParams,
12
12
  type InstaQLOptions,
13
13
  type InstantConfig,
14
14
  type PageInfoResponse,
package/src/useQuery.ts CHANGED
@@ -63,9 +63,6 @@ export function useQueryInternal<
63
63
  resultCacheRef.current = stateForResult(
64
64
  _core._reactor.getPreviousResult(query),
65
65
  );
66
- if (resultCacheRef.current.data) {
67
- cb();
68
- }
69
66
 
70
67
  // Don't subscribe if query is null
71
68
  if (!query) {