rsnext/test/integration/react-streaming-and-server-components
Shu Ding 19b625e0c5
Fix export from and native modules in server component (#36072)
This PR fixes a bunch of bugs and it now supports:
- Importing a client component from a nested server component (a.server → b.server → c.client).
- The `export from` syntax in server component (`export { default } from './a.server'`)
- Native modules in server components (currently broken)

## Buga

- [ ] 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-13 08:50:36 +00:00
..
app Fix export from and native modules in server component (#36072) 2022-04-13 08:50:36 +00:00
switchable-runtime Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
test Fix export from and native modules in server component (#36072) 2022-04-13 08:50:36 +00:00
unsupported-native-module Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00