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
0e9479f5
Unverified
Commit
0e9479f5
authored
Jul 12, 2024
by
Zack Tanner
Committed by
GitHub
Jul 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup unused pages router method (#67722)
This appears to be leftover from early RSC experimentation.
parent
d654ccfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
router.ts
packages/next/src/shared/lib/router/router.ts
+0
-12
No files found.
packages/next/src/shared/lib/router/router.ts
View file @
0e9479f5
...
@@ -2501,18 +2501,6 @@ export default class Router implements BaseRouter {
...
@@ -2501,18 +2501,6 @@ export default class Router implements BaseRouter {
})
})
}
}
_getFlightData
(
dataHref
:
string
)
{
// Do not cache RSC flight response since it's not a static resource
return
fetchNextData
({
dataHref
,
isServerRender
:
true
,
parseJSON
:
false
,
inflightCache
:
this
.
sdc
,
persistCache
:
false
,
isPrefetch
:
false
,
}).
then
(({
text
})
=>
({
data
:
text
}))
}
getInitialProps
(
getInitialProps
(
Component
:
ComponentType
,
Component
:
ComponentType
,
ctx
:
NextPageContext
ctx
:
NextPageContext
...
...
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