rsnext/packages/next/client/components
Hannes Bornö a105515766
Create root layout (#41523)
Creates a root layout if it is missing in DEV when building the page in
`next-app-loader`. If the page is in a route group, the layout will be
created there. Otherwise it will create a layout directly under `/app`.

Breaks the build if a page is found that's missing a root layout.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-10-23 00:39:30 -07:00
..
react-dev-overlay Create root layout (#41523) 2022-10-23 00:39:30 -07:00
app-router.tsx Refactor hot-reloader client for app (#41598) 2022-10-22 09:56:48 +02:00
dynamic.tsx Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
error-boundary.tsx Global layouts error boundary (#41305) 2022-10-11 11:17:10 +02:00
headers.ts fix(ts): Cookies -> NextCookies (#41491) 2022-10-18 15:13:42 +02:00
hooks-client-context.ts Change useSearchParams to URLSearchParams (#40978) 2022-10-15 19:16:50 +00:00
hooks-server-context.ts Upgrade react@experimental (#40885) 2022-09-25 21:35:05 +02:00
infinite-promise.ts Handle redirects in new router (#40396) 2022-09-20 15:28:07 +02:00
layout-router.tsx Don't show error overlay for not found and redirect (#41438) 2022-10-15 18:46:36 +02:00
match-segments.ts Flush styles effects (#39268) 2022-08-03 16:21:20 +00:00
navigation.ts Full remaining path in selected layout segment (#41562) 2022-10-20 11:45:16 +00:00
not-found.ts Update handling of redirect/404 throw to cross server->client boundary (#40890) 2022-09-26 13:16:20 +02:00
redirect.ts Update handling of redirect/404 throw to cross server->client boundary (#40890) 2022-09-26 13:16:20 +02:00
reducer.ts Check root layout change on client (#41475) 2022-10-19 18:38:00 -07:00
render-from-template-context.tsx Client component directive: use client (#41333) 2022-10-11 10:26:45 -07:00
request-async-storage.ts fix(ts): Cookies -> NextCookies (#41491) 2022-10-18 15:13:42 +02:00
static-generation-async-storage.ts Improved bundling strategy for the server graph (#40739) 2022-09-21 20:45:33 +02:00
use-reducer-with-devtools.ts misc: make useReducerWithDevtools noop on server (#41019) 2022-09-29 10:08:44 +00:00