Skip to content

Commit

Permalink
Update use-client.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yucohny authored Nov 13, 2023
1 parent 353cd77 commit fe52309
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content/reference/react/use-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ function App() {
* 普通 [对象](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object):使用 [对象初始化器](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Object_initializer) 创建的、具有可序列化属性
* [Server Actions](/reference/react/use-server) 中的函数
* 客户端或服务器组件元素(JSX)
* [Promise](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise)

值得注意的是,以下内容不受支持:
* 未从客户端标记的模块中导出或未标记为 [`'use server'`](/reference/react/use-server)[函数](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function)
Expand Down

0 comments on commit fe52309

Please sign in to comment.