Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert support for render prop in
<Main />
(#32184)
Reverts support for render prop in `<Main />` in `Document`. This was added just to support the `useFlushEffect` hook, but we've tweaked the design a bit, moving it to `App`.
- Loading branch information
Showing
9 changed files
with
11 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
test/integration/document-functional-render-prop/app/lib/context.js
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
test/integration/document-functional-render-prop/app/next.config.js
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
test/integration/document-functional-render-prop/app/package.json
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
test/integration/document-functional-render-prop/app/pages/_document.js
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
test/integration/document-functional-render-prop/app/pages/index.js
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
test/integration/document-functional-render-prop/tests/index.test.js
This file was deleted.
Oops, something went wrong.