Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
401 changes: 248 additions & 153 deletions packages/next/src/server/app-render/app-render.tsx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { workAsyncStorageInstance } from './work-async-storage-instance' with {
import type { LazyResult } from '../lib/lazy-result'
import type { DigestedError } from './create-error-handler'
import type { ActionRevalidationKind } from '../../shared/lib/action-revalidation-kind'
import type { ClientComponentLoadTracker } from '../client-component-renderer-logger'

export interface WorkStore {
/**
Expand Down Expand Up @@ -101,6 +102,7 @@ export interface WorkStore {

fetchMetrics?: FetchMetrics
shouldTrackFetchMetrics: boolean
clientComponentLoadTracker: ClientComponentLoadTracker | undefined

/**
* Tracks pending `"use cache"` invocations within the current request scope,
Expand Down
1 change: 1 addition & 0 deletions packages/next/src/server/async-storage/work-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ function createWorkStoreImpl(
refreshTagsByCacheKind: createRefreshTagsByCacheKind(),
runInCleanSnapshot: createSnapshot(),
shouldTrackFetchMetrics,
clientComponentLoadTracker: undefined,
reactServerErrorsByDigest: new Map(),
}

Expand Down
Loading
Loading