mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
`reactProductionProfiling` was a next config working for pages before mainly for profiling react, this PR also enables it for pages. ### Chanegs * Add react profiling entry and related alias * Fix `reactProductionProfiling` is missing in next config type and schema Closes #51131
10 lines
161 B
JavaScript
10 lines
161 B
JavaScript
import React from 'react'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<React.Profiler id="hello">
|
|
<p>hello app server</p>
|
|
</React.Profiler>
|
|
)
|
|
}
|