Skip to content

Commit e2050fc

Browse files
jorgemoyaclaude
andcommitted
LTRAC-578: docs - Add TODO for rootParams migration
Note that the passthrough root layout is a workaround — once Next.js `rootParams` (16.2+) is available on Native Hosting, we should move <html>/<body> back here and derive `lang` from rootParams. Refs LTRAC-578 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 380bd34 commit e2050fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { PropsWithChildren } from 'react';
44
// it just passes children through. Ownership of <html>/<body> lives in
55
// app/[locale]/layout.tsx (to set lang={locale}) and app/not-found.tsx (for
66
// non-localized 404s). See: https://next-intl.dev/docs/environments/error-files
7+
// TODO: Move <html>/<body> back here and set lang via Next.js `rootParams`
8+
// once it is available on Native Hosting (Next.js 16.2+).
79
export default function RootLayout({ children }: PropsWithChildren) {
810
return children;
911
}

0 commit comments

Comments
 (0)