Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate static html for bots (#35004)
* Generate static html for bots * fix lint * refactor error handling against comment * fix streaming on edge for bots * inline doResolve
- Loading branch information
Showing
20 changed files
with
161 additions
and
204 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
This file was deleted.
Oops, something went wrong.
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
1 change: 0 additions & 1 deletion
1
...eact-streaming-and-server-components/app/components/client-default-export-arrow.client.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...gration/react-streaming-and-server-components/app/components/client-exports-all.client.js
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
test/integration/react-streaming-and-server-components/app/components/client-exports-all.js
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...integration/react-streaming-and-server-components/app/components/client-exports.client.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export function Named() { | ||
return 'named.client' | ||
} | ||
|
||
export default () => 'default-export-arrow.client' |
3 changes: 0 additions & 3 deletions
3
test/integration/react-streaming-and-server-components/app/components/named.client.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
26 changes: 0 additions & 26 deletions
26
.../integration/react-streaming-and-server-components/app/pages/client-exports-all.server.js
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
test/integration/react-streaming-and-server-components/app/pages/client-exports.server.js
This file was deleted.
Oops, something went wrong.
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
26 changes: 26 additions & 0 deletions
26
test/integration/react-streaming-and-server-components/app/pages/various-exports.server.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// shared named exports | ||
import { a, b, c, d, e } from '../components/shared-exports' | ||
// client default, named exports | ||
import DefaultArrow, { | ||
Named as ClientNamed, | ||
} from '../components/client-exports.client' | ||
|
||
export default function Page() { | ||
return ( | ||
<div> | ||
<div> | ||
{a} | ||
{b} | ||
{c} | ||
{d} | ||
{e[0]} | ||
</div> | ||
<div> | ||
<DefaultArrow /> | ||
</div> | ||
<div> | ||
<ClientNamed /> | ||
</div> | ||
</div> | ||
) | ||
} |
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
Oops, something went wrong.