rsnext/test/integration/react-streaming-and-server-components
Jiachi Liu d25e246b50
Keep custom app as non server component (#37044)
We added custom _app as server component support in #33149, but we found it's pretty confusing on usage like support it both server component pages and regular pages at the same time for having similar layout purpose.
When using the _app.server and _app at the same time, applying them into proper places become more confusing.
In that case, we decide to make _app.js can't be a server component, and you can still keep all the existing thing there. And also you don't need to think of the corresponding APIs of custom _app in RSC

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Docs updated
2022-05-20 18:07:20 +00:00
..
app Fix styled-jsx not working in client components in the edge runtime when SSR (#37042) 2022-05-19 16:44:43 +00:00
switchable-runtime Keep custom app as non server component (#37044) 2022-05-20 18:07:20 +00:00
test Keep custom app as non server component (#37044) 2022-05-20 18:07:20 +00:00
unsupported-native-module Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00