Unverified Commit 2f0c80fb authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

[DevOverlay] Enable reactOwnerStack when newDevOverlay is enabled (#75199)

Enable `reactOwnerStack` when `newDevOverlay` is enabled to have better
call stack output in the new UI.

Closes NDX-668

---------
Co-authored-by: 's avatarJiachi Liu <inbox@huozhi.im>
parent 73e6250f
...@@ -440,6 +440,13 @@ function assignDefaults( ...@@ -440,6 +440,13 @@ function assignDefaults(
} }
} }
// TODO(jiwon): remove once we've made new UI default
// Enable reactOwnerStack when newDevOverlay is enabled to have
// better call stack output in the new UI.
if (result.experimental?.newDevOverlay) {
result.experimental.reactOwnerStack = true
}
warnCustomizedOption( warnCustomizedOption(
result, result,
'experimental.esmExternals', 'experimental.esmExternals',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment