rsnext/test/integration/react-streaming-and-server-components
Jiachi Liu 630bf80a22
Support shared component with next built-in client components (#35975)
Fixes #35449

Include the shared components (from source code) is in client bundles, previously we lost them so that the client components imported by them are lost in module graph

* let flight server loader apply to all pages and imported modules (except node_modules at the moment)
* if it's a shared component from source code, include it in client bundle
* ignore handling node_modules at the moment (due to the limitation support of esm imports with RSC)

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Errors have helpful link attached, see `contributing.md`
2022-04-07 19:45:33 +00:00
..
app Support shared component with next built-in client components (#35975) 2022-04-07 19:45:33 +00:00
switchable-runtime Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
test Support shared component with next built-in client components (#35975) 2022-04-07 19:45:33 +00:00
unsupported-native-module Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00