rsnext/test/integration/react-streaming-and-server-components/app
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
..
components Support export all syntax in client components (#36027) 2022-04-09 01:26:16 +00:00
node_modules Add test case for module resolution in node_modules from different contexts (#35978) 2022-04-07 19:16:02 +00:00
pages Fix export from and native modules in server component (#36072) 2022-04-13 08:50:36 +00:00
public Improve error message for importing native Node APIs in the edge runtime (#30696) 2021-11-01 11:40:21 +00:00
.env Fix process.env overriden in web runtime (#31261) 2021-11-10 18:57:27 +00:00
next.config.js Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
package.json Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
styles.css Improve error message for importing native Node APIs in the edge runtime (#30696) 2021-11-01 11:40:21 +00:00
tsconfig.json Improve error message for importing native Node APIs in the edge runtime (#30696) 2021-11-01 11:40:21 +00:00