Files
Niklas MischkulnigandGitHub 7fc89cc0f4 Fix config.reactProductionProfiling for Webpack (#90430)
Absolutely no idea how this was passing in the integration test setup

For Webpack, setting it via the config was previously completely ignored and only the `--profile` flag was respected
Turbopack was already working correctly: https://github.com/vercel/next.js/pull/84920
2026-02-24 16:11:41 +01:00

18 lines
336 B
JavaScript

'use client'
import React from 'react'
export default function Page() {
return (
<React.Profiler
id="hello-app-client"
onRender={(...res) => {
window.profileResults = window.profileResults || []
window.profileResults.push(res)
}}
>
<p>hello app client</p>
</React.Profiler>
)
}