rsnext/docs/advanced-features/react-18
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
..
overview.md Update docs related to React 18 (#35952) 2022-04-08 17:09:55 +02:00
server-components.md Keep custom app as non server component (#37044) 2022-05-20 18:07:20 +00:00
streaming.md Update docs related to React 18 (#35952) 2022-04-08 17:09:55 +02:00
switchable-runtime.md docs: add more details about nextRuntime in webpack config and runtime in next config (#36862) 2022-05-12 16:53:59 +00:00