You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This API is experimental and is not available in a stable version of React yet.**
7
+
**这是实验性 API,并且在 React 的稳定版中还不可用**。
8
8
9
-
You can try it by upgrading React packages to the most recent experimental version:
9
+
你可以通过升级到最新的实验版 React 包来尝试:
10
10
11
11
-`react@experimental`
12
12
-`react-dom@experimental`
13
13
-`eslint-plugin-react-hooks@experimental`
14
14
15
-
Experimental versions of React may contain bugs. Don't use them in production.
15
+
实验性 API 可能存在 bug,所以不要在生产环境使用。
16
16
17
17
</Wip>
18
18
19
19
20
20
<Intro>
21
21
22
-
`useEffectEvent`is a React Hook that lets you extract non-reactive logic into an [Effect Event.](/learn/separating-events-from-effects#declaring-an-effect-event)
0 commit comments