rsnext/packages/next/build/webpack/plugins/wellknown-errors-plugin
Shu Ding b0db95ffc6
Update error message for invalid react-dom/server imports (#41582)
Related discussion:
https://vercel.slack.com/archives/C043ANYDB24/p1666208186363099?thread_ts=1664676119.265829&cid=C043ANYDB24.

Tl;dr: RSC already renders and serializes things dynamically, there is
no need to manually do that in RSC and embed them via
dangerouslySetInnerHTML.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a 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 a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-10-19 17:56:14 -07:00
..
index.ts Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00
parseBabel.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
parseCss.ts Fix typos (#35683) 2022-03-28 22:53:51 -05:00
parseNotFoundError.ts Add pretty error when image import is invalid format (#41267) 2022-10-11 18:22:13 +02:00
parseRSC.ts Update error message for invalid react-dom/server imports (#41582) 2022-10-19 17:56:14 -07:00
parseScss.ts Skip loading unused plugins in next dev (#37430) 2022-06-03 14:47:16 -04:00
simpleWebpackError.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
webpackModuleError.ts Add pretty error when image import is invalid format (#41267) 2022-10-11 18:22:13 +02:00