mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Will be stacked on next React sync which includes `unstable_ViewTransition`. Allows using React's `unstable_ViewTransition` Component behind the `experimental.viewTransition` flag. Right now it just opts into React's experimental build but may later house Next.js specific features like Transition Types for navigations.
8 lines
115 B
JavaScript
8 lines
115 B
JavaScript
export default function Root({ children }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|