Files
Josh StoryandGitHub f93d8178ea [dynamicIO] Error in dev when using sync platform APIs that are dynamic (#71346)
stacked on #71345 

When dynamicIO is enabled certain platform APIs that provide access to
outside state like randomness and current time are augmented to bail out
of prerendering. When running in Dev there is no true Prerender but we
still want to communicate to the developer when they are using APIs that
might not work as they intend in Production. This change adds warnings
when you use these platform APIs during the Prerender portion of the dev
render.
2024-10-16 15:18:49 -07:00

8 lines
146 B
TypeScript

export default function Root({ children }: { children: React.ReactNode }) {
return (
<html>
<body>{children}</body>
</html>
)
}