Skip to content

Commit

Permalink
Update src/content/blog/2022/03/08/react-18-upgrade-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yucohny authored Jul 14, 2023
1 parent a26040d commit a9bc4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/blog/2022/03/08/react-18-upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const root = hydrateRoot(container, <App tab="home" />);

在这次发布中,我们修改 `react-dom/server` API 使它完全支持服务端的 Suspense 和 流式 SSR。作为这些变化的一部分,我们正在废弃旧的 Node 流式 API,因为它不支持服务端的增量 Suspense 流。

现在使用这个 API 会发出告警
现在使用这个 API 会发出警告

* `renderToNodeStream`: **废弃 ⛔️️**

Expand Down

0 comments on commit a9bc4e1

Please sign in to comment.