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-dom/hooks/index into Chinese #1347

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

Yucohny
Copy link
Collaborator

@Yucohny Yucohny commented Oct 19, 2023

翻译 reference/react-dom/hooks/index。

@github-actions
Copy link

github-actions bot commented Oct 19, 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! 🙌

src/content/reference/react-dom/hooks/index.md Outdated Show resolved Hide resolved

* [`useFormStatus`](/reference/react-dom/hooks/useFormStatus) allows you to make updates to the UI based on the status of the a form.
* `useFormState` allows you to manage state inside a form.
* [`useFormStatus`](/reference/react-dom/hooks/useFormStatus) 允许根据表单的状态更新用户界面。
Copy link
Collaborator

Choose a reason for hiding this comment

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

我现在觉得 allow 不翻译成“允许”会好一点,比如直接翻译成“可以”?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

可以,主要是之前的文档基本也都翻译为「允许」了。

@Yucohny Yucohny merged commit f3f6a85 into reactjs:main Oct 20, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants