Skip to content

skeleton@2025.1.6

Choose a tag to compare

@shopify-github-actions-access shopify-github-actions-access released this 03 Apr 19:44
· 435 commits to main since this release
f297f0c

Patch Changes

  • Moved the Layout component back into root.tsx to avoid issues with styled errors. (#2829) by @ruggishop

    1. If you have a separate app/layout.tsx file, delete it and move its default exported component into your root.tsx. For example:

      // /app/root.tsx
      export function Layout({children}: {children?: React.ReactNode}) {
        const nonce = useNonce();
        const data = useRouteLoaderData<RootLoader>('root');
      
        return (
          <html lang="en">
          ...
        );
      }