rsnext/test/e2e/app-dir/root-layout
Jiachi Liu 9313c51bc4
Ensure root layout only render once per request (#52589)
Introduce a new way to search for `not-found` component that based on
the request pathname and current loader tree of that route. And we
search the proper not-found in the finall catch closure of app
rendering, so that we don't have to pass down the root layout to
app-router to create the extra error boundary.

This ensures the root layout doesn't have duplicated rendering for
normal requests

Fixes NEXT-1220
Fixes #49115
2023-07-13 17:34:31 +02:00
..
app Drop object config export support for app dir (#48489) 2023-04-17 20:02:32 +00:00
root-layout.test.ts Drop object config export support for app dir (#48489) 2023-04-17 20:02:32 +00:00