mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
Update upgrade instructions for React Server Components (Waku section) (#8176)
This commit is contained in:
@@ -123,9 +123,11 @@ See [Redwood docs](https://docs.rwsdk.com/migrating/) for more migration instruc
|
||||
Upgrade to the latest `react-server-dom-webpack`:
|
||||
|
||||
```bash
|
||||
npm install react@latest react-dom@latest react-server-dom-webpack@latest
|
||||
npm install react@latest react-dom@latest react-server-dom-webpack@latest waku@latest
|
||||
```
|
||||
|
||||
See [Waku announcement](https://github.com/wakujs/waku/discussions/1823) for more migration instructions.
|
||||
|
||||
### `@vitejs/plugin-rsc` {/*vitejs-plugin-rsc*/}
|
||||
|
||||
Upgrade to the latest RSC plugin:
|
||||
@@ -167,4 +169,4 @@ npm install react@latest react-dom@latest react-server-dom-webpack@latest
|
||||
|
||||
## Attribution {/*attribution*/}
|
||||
|
||||
Thank you to [Lachlan Davidson](https://github.com/lachlan2k) for discovering, reporting, and working to help fix this vulnerability.
|
||||
Thank you to [Lachlan Davidson](https://github.com/lachlan2k) for discovering, reporting, and working to help fix this vulnerability.
|
||||
|
||||
Reference in New Issue
Block a user