Skip to content

Commit 1f58281

Browse files
authored
fix(solid-query): Remove unserializable values (#5326)
1 parent fa04d8b commit 1f58281

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/solid-query/src/createBaseQuery.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ export function createBaseQuery<
9191
// copying over the missing properties from state in order to support hydration
9292
dataUpdateCount: query.state.dataUpdateCount,
9393
fetchFailureCount: query.state.fetchFailureCount,
94-
fetchFailureReason: query.state.fetchFailureReason,
95-
fetchMeta: query.state.fetchMeta,
94+
// Removing these properties since they might not be serializable
95+
// fetchFailureReason: query.state.fetchFailureReason,
96+
// fetchMeta: query.state.fetchMeta,
9697
isInvalidated: query.state.isInvalidated,
9798
}
9899

0 commit comments

Comments
 (0)