Skip to content

Commit

Permalink
[DevOverlay] Enable reactOwnerStack when newDevOverlay is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi committed Jan 23, 2025
1 parent c33eb2b commit d66d83b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/next/src/lib/needs-experimental-react.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { NextConfig } from '../server/config-shared'

export function needsExperimentalReact(config: NextConfig) {
const { ppr, taint, reactOwnerStack, viewTransition } =
const { ppr, taint, reactOwnerStack, viewTransition, newDevOverlay } =
config.experimental || {}
return Boolean(ppr || taint || reactOwnerStack || viewTransition)
return Boolean(
ppr || taint || reactOwnerStack || viewTransition || newDevOverlay
)
}

0 comments on commit d66d83b

Please sign in to comment.