Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cn): translate reference/react/experimental_useEffectEvent into Chinese #1161

Merged

Conversation

earthaYan
Copy link
Contributor

reference/react/experimental_useEffectEvent 已翻译完成,等待校对
@QC-L @Yucohny

@github-actions
Copy link

github-actions bot commented May 9, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

---

<Wip>

**This API is experimental and is not available in a stable version of React yet.**
**这个 API 实验性的且在 React 的稳定版中还不可用。**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

行末标点移至加粗外

src/content/reference/react/experimental_useEffectEvent.md Outdated Show resolved Hide resolved

</Wip>


<Intro>

`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)
`useEffectEvent` 这个 React Hook 让你可以提取非响应式逻辑到一个 [Effect Event](/learn/separating-events-from-effects#declaring-an-effect-event) 中。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以考虑此处的 Event 是否需要翻译

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Effect Event特指useEffectEvent包裹后的结果,感觉好像不应该翻译

@Yucohny Yucohny added the Pending Modify 已校对,待修改阶段 label Jun 19, 2023
Co-authored-by: Yucohny <79147654+Yucohny@users.noreply.github.com>
@@ -1,25 +1,25 @@
---
title: experimental_useEffectEvent
title: 实验性的 useEffectEvent
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这应该是 API 的完整名称吧……

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是的,已修改

@earthaYan earthaYan deleted the reference/react/experimental_useEffectEvent branch June 28, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Review 已翻译,待校对阶段
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants