rsnext/test/integration/react-streaming-and-server-components
Shu Ding 0eb9f7e76d
Initial implementation of statically optimized flight data of server component pages (#35619)
Part of #31506 and https://github.com/vercel/next.js/discussions/34179. This PR ensures that in the `nodejs` runtime, the flight data is statically stored as a JSON file if possible. Most of the touched code is related to conditions of static/SSG/SSR when runtime and/or RSC is involved.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have 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 helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-04-01 16:13:38 +00:00
..
app Clean up legacy react 18 tests (#35615) 2022-03-28 12:32:34 +00:00
switchable-runtime Initial implementation of statically optimized flight data of server component pages (#35619) 2022-04-01 16:13:38 +00:00
test Initial implementation of statically optimized flight data of server component pages (#35619) 2022-04-01 16:13:38 +00:00
unsupported-native-module Revert "Revert "Make concurrent features independent from the global runtime option"" (#35490) 2022-03-26 00:05:35 +01:00