Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
77f60a6f
Unverified
Commit
77f60a6f
authored
Nov 27, 2025
by
Hendrik Liebau
Committed by
GitHub
Nov 27, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete `setReferenceManifestsSingleton` call (#86574)
parent
a1e24995
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
action-handler.ts
packages/next/src/server/app-render/action-handler.ts
+2
-2
app-render.tsx
packages/next/src/server/app-render/app-render.tsx
+1
-16
No files found.
packages/next/src/server/app-render/action-handler.ts
View file @
77f60a6f
...
@@ -59,6 +59,7 @@ import { InvariantError } from '../../shared/lib/invariant-error'
...
@@ -59,6 +59,7 @@ import { InvariantError } from '../../shared/lib/invariant-error'
import
{
executeRevalidates
}
from
'../revalidation-utils'
import
{
executeRevalidates
}
from
'../revalidation-utils'
import
{
getRequestMeta
}
from
'../request-meta'
import
{
getRequestMeta
}
from
'../request-meta'
import
{
setCacheBustingSearchParam
}
from
'../../client/components/router-reducer/set-cache-busting-search-param'
import
{
setCacheBustingSearchParam
}
from
'../../client/components/router-reducer/set-cache-busting-search-param'
import
{
getServerModuleMap
}
from
'./encryption-utils'
function
formDataFromSearchQueryString
(
query
:
string
)
{
function
formDataFromSearchQueryString
(
query
:
string
)
{
const
searchParams
=
new
URLSearchParams
(
query
)
const
searchParams
=
new
URLSearchParams
(
query
)
...
@@ -503,7 +504,6 @@ export async function handleAction({
...
@@ -503,7 +504,6 @@ export async function handleAction({
req
,
req
,
res
,
res
,
ComponentMod
,
ComponentMod
,
serverModuleMap
,
generateFlight
,
generateFlight
,
workStore
,
workStore
,
requestStore
,
requestStore
,
...
@@ -514,7 +514,6 @@ export async function handleAction({
...
@@ -514,7 +514,6 @@ export async function handleAction({
req
:
BaseNextRequest
req
:
BaseNextRequest
res
:
BaseNextResponse
res
:
BaseNextResponse
ComponentMod
:
AppPageModule
ComponentMod
:
AppPageModule
serverModuleMap
:
ServerModuleMap
generateFlight
:
GenerateFlight
generateFlight
:
GenerateFlight
workStore
:
WorkStore
workStore
:
WorkStore
requestStore
:
RequestStore
requestStore
:
RequestStore
...
@@ -524,6 +523,7 @@ export async function handleAction({
...
@@ -524,6 +523,7 @@ export async function handleAction({
}):
Promise
<
HandleActionResult
>
{
}):
Promise
<
HandleActionResult
>
{
const
contentType
=
req
.
headers
[
'content-type'
]
const
contentType
=
req
.
headers
[
'content-type'
]
const
{
serverActionsManifest
,
page
}
=
ctx
.
renderOpts
const
{
serverActionsManifest
,
page
}
=
ctx
.
renderOpts
const
serverModuleMap
=
getServerModuleMap
()
const
{
const
{
actionId
,
actionId
,
...
...
packages/next/src/server/app-render/app-render.tsx
View file @
77f60a6f
...
@@ -101,10 +101,7 @@ import { makeGetServerInsertedHTML } from './make-get-server-inserted-html'
...
@@ -101,10 +101,7 @@ import { makeGetServerInsertedHTML } from './make-get-server-inserted-html'
import
{
walkTreeWithFlightRouterState
}
from
'./walk-tree-with-flight-router-state'
import
{
walkTreeWithFlightRouterState
}
from
'./walk-tree-with-flight-router-state'
import
{
createComponentTree
,
getRootParams
}
from
'./create-component-tree'
import
{
createComponentTree
,
getRootParams
}
from
'./create-component-tree'
import
{
getAssetQueryString
}
from
'./get-asset-query-string'
import
{
getAssetQueryString
}
from
'./get-asset-query-string'
import
{
import
{
getServerModuleMap
}
from
'./encryption-utils'
getServerModuleMap
,
setReferenceManifestsSingleton
,
}
from
'./encryption-utils'
import
{
import
{
DynamicState
,
DynamicState
,
type
PostponedState
,
type
PostponedState
,
...
@@ -147,7 +144,6 @@ import {
...
@@ -147,7 +144,6 @@ import {
getClientComponentLoaderMetrics
,
getClientComponentLoaderMetrics
,
wrapClientComponentLoader
,
wrapClientComponentLoader
,
}
from
'../client-component-renderer-logger'
}
from
'../client-component-renderer-logger'
import
{
createServerModuleMap
}
from
'./action-utils'
import
{
isNodeNextRequest
}
from
'../base-http/helpers'
import
{
isNodeNextRequest
}
from
'../base-http/helpers'
import
{
parseRelativeUrl
}
from
'../../shared/lib/router/utils/parse-relative-url'
import
{
parseRelativeUrl
}
from
'../../shared/lib/router/utils/parse-relative-url'
import
AppRouter
from
'../../client/components/app-router'
import
AppRouter
from
'../../client/components/app-router'
...
@@ -1844,7 +1840,6 @@ async function renderToHTMLOrFlightImpl(
...
@@ -1844,7 +1840,6 @@ async function renderToHTMLOrFlightImpl(
const
{
const
{
clientReferenceManifest
,
clientReferenceManifest
,
serverActionsManifest
,
ComponentMod
,
ComponentMod
,
nextFontManifest
,
nextFontManifest
,
serverActions
,
serverActions
,
...
@@ -1971,15 +1966,6 @@ async function renderToHTMLOrFlightImpl(
...
@@ -1971,15 +1966,6 @@ async function renderToHTMLOrFlightImpl(
assertClientReferenceManifest
(
clientReferenceManifest
)
assertClientReferenceManifest
(
clientReferenceManifest
)
const
serverModuleMap
=
createServerModuleMap
({
serverActionsManifest
})
setReferenceManifestsSingleton
({
page
:
workStore
.
page
,
clientReferenceManifest
,
serverActionsManifest
,
serverModuleMap
,
})
ComponentMod
.
patchFetch
()
ComponentMod
.
patchFetch
()
// Pull out the hooks/references from the component.
// Pull out the hooks/references from the component.
...
@@ -2256,7 +2242,6 @@ async function renderToHTMLOrFlightImpl(
...
@@ -2256,7 +2242,6 @@ async function renderToHTMLOrFlightImpl(
req
,
req
,
res
,
res
,
ComponentMod
,
ComponentMod
,
serverModuleMap
,
generateFlight
:
generateDynamicFlightRenderResult
,
generateFlight
:
generateDynamicFlightRenderResult
,
workStore
,
workStore
,
requestStore
,
requestStore
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment