mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
b3774eaefb
This includes the set of experimental flag states in events sent to the trace upload receiver when `--experimental-trace-upload` is set. It only includes a subset of experimental flags (so things like the trace upload flag itself isn't meaninglessly sent). Since reporting is often limited to the scope of a single span, the flag state attributes are denormalized and copied onto every descendent span. Limiting the set of flags prevents this from being unnecessarily large. Test Plan: Added `test/development` test and built an app and verified these tags are sent with `NEXT_TRACE_UPLOAD_DEBUG` --------- Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by: Luke Sandberg <[email protected]>
9 lines
174 B
TypeScript
9 lines
174 B
TypeScript
import { ReactNode } from 'react'
|
|
export default function Root({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|