このコミットが含まれているのは:
2026-10-31 20:44:28 +09:00
コミット 14853a8c5f
4個のファイルの変更、91行の追加、15行の削除
+3
ファイルの表示
@@ -141,9 +141,11 @@ export const render = async (
helmetContext = { }
requestContext.status = status
html = await renderDocument (page ())
// Client-only queries must neither run here nor enter the bootstrap below.
const pending = client.getQueryCache ().getAll ().filter (query => {
const options = query.options as QueryObserverOptions
return query.state.status === 'pending'
&& query.meta?.clientOnly !== true
&& options.queryFn != null && options.queryFn !== skipToken
&& options.enabled !== false
&& (typeof options.enabled !== 'function' || options.enabled (query))
@@ -173,6 +175,7 @@ export const render = async (
.map (entry => entry.toString ()).join ('')
const dehydrated = dehydrate (client, { shouldDehydrateQuery: query =>
query.state.status !== 'pending'
&& query.meta?.clientOnly !== true
&& !(query.queryKey[0] === 'help' && query.queryKey[1] === 'edition') })
const state = { ...dehydrated, queries: dehydrated.queries.map (query => ({
...query, state: { ...query.state, fetchFailureReason: null,