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
2a594945
Unverified
Commit
2a594945
authored
Apr 10, 2025
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Apr 10, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup `config.experimental.reactOwnerstack` (#78021)
parent
2b34bfac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
next_config.rs
crates/next-core/src/next_config.rs
+0
-6
next_import_map.rs
crates/next-core/src/next_import_map.rs
+1
-3
No files found.
crates/next-core/src/next_config.rs
View file @
2a594945
...
@@ -725,7 +725,6 @@ pub struct ExperimentalConfig {
...
@@ -725,7 +725,6 @@ pub struct ExperimentalConfig {
/// directory.
/// directory.
ppr
:
Option
<
ExperimentalPartialPrerendering
>
,
ppr
:
Option
<
ExperimentalPartialPrerendering
>
,
taint
:
Option
<
bool
>
,
taint
:
Option
<
bool
>
,
react_owner_stack
:
Option
<
bool
>
,
#[serde(rename
=
"routerBFCache"
)]
#[serde(rename
=
"routerBFCache"
)]
router_bfcache
:
Option
<
bool
>
,
router_bfcache
:
Option
<
bool
>
,
proxy_timeout
:
Option
<
f64
>
,
proxy_timeout
:
Option
<
f64
>
,
...
@@ -1417,11 +1416,6 @@ impl NextConfig {
...
@@ -1417,11 +1416,6 @@ impl NextConfig {
Vc
::
cell
(
self
.experimental.taint
.unwrap_or
(
false
))
Vc
::
cell
(
self
.experimental.taint
.unwrap_or
(
false
))
}
}
#[turbo_tasks
::
function]
pub
fn
enable_react_owner_stack
(
&
self
)
->
Vc
<
bool
>
{
Vc
::
cell
(
self
.experimental.react_owner_stack
.unwrap_or
(
false
))
}
#[turbo_tasks
::
function]
#[turbo_tasks
::
function]
pub
fn
enable_router_bfcache
(
&
self
)
->
Vc
<
bool
>
{
pub
fn
enable_router_bfcache
(
&
self
)
->
Vc
<
bool
>
{
Vc
::
cell
(
self
.experimental.router_bfcache
.unwrap_or
(
false
))
Vc
::
cell
(
self
.experimental.router_bfcache
.unwrap_or
(
false
))
...
...
crates/next-core/src/next_import_map.rs
View file @
2a594945
...
@@ -120,7 +120,6 @@ pub async fn get_next_client_import_map(
...
@@ -120,7 +120,6 @@ pub async fn get_next_client_import_map(
ClientContextType
::
App
{
app_dir
}
=>
{
ClientContextType
::
App
{
app_dir
}
=>
{
let
react_flavor
=
if
*
next_config
.enable_ppr
()
.await
?
let
react_flavor
=
if
*
next_config
.enable_ppr
()
.await
?
||
*
next_config
.enable_taint
()
.await
?
||
*
next_config
.enable_taint
()
.await
?
||
*
next_config
.enable_react_owner_stack
()
.await
?
||
*
next_config
.enable_view_transition
()
.await
?
||
*
next_config
.enable_view_transition
()
.await
?
||
*
next_config
.enable_router_bfcache
()
.await
?
||
*
next_config
.enable_router_bfcache
()
.await
?
{
{
...
@@ -700,10 +699,9 @@ async fn rsc_aliases(
...
@@ -700,10 +699,9 @@ async fn rsc_aliases(
)
->
Result
<
()
>
{
)
->
Result
<
()
>
{
let
ppr
=
*
next_config
.enable_ppr
()
.await
?
;
let
ppr
=
*
next_config
.enable_ppr
()
.await
?
;
let
taint
=
*
next_config
.enable_taint
()
.await
?
;
let
taint
=
*
next_config
.enable_taint
()
.await
?
;
let
react_owner_stack
=
*
next_config
.enable_react_owner_stack
()
.await
?
;
let
router_bfcache
=
*
next_config
.enable_router_bfcache
()
.await
?
;
let
router_bfcache
=
*
next_config
.enable_router_bfcache
()
.await
?
;
let
view_transition
=
*
next_config
.enable_view_transition
()
.await
?
;
let
view_transition
=
*
next_config
.enable_view_transition
()
.await
?
;
let
react_channel
=
if
ppr
||
taint
||
react_owner_stack
||
view_transition
||
router_bfcache
{
let
react_channel
=
if
ppr
||
taint
||
view_transition
||
router_bfcache
{
"-experimental"
"-experimental"
}
else
{
}
else
{
""
""
...
...
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