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 content/blog/2019-02-06-react-v16.8.0.md into Chinese #171

Closed
wants to merge 1 commit into from
Closed

Conversation

JiyuShao
Copy link
Contributor

No description provided.

@QC-L QC-L added the Pending Review 已翻译,待校对阶段 label Mar 18, 2019
@netlify
Copy link

netlify bot commented Mar 18, 2019

Deploy preview for cn-reactjs ready!

Built with commit e42ef65

https://deploy-preview-171--cn-reactjs.netlify.com

@netlify
Copy link

netlify bot commented Mar 18, 2019

Deploy preview for zh-hans-reactjs ready!

Built with commit e42ef65

https://deploy-preview-171--zh-hans-reactjs.netlify.com

@QC-L QC-L mentioned this pull request Mar 19, 2019
@leviding leviding self-assigned this Aug 19, 2019
Copy link
Collaborator

@leviding leviding left a comment

Choose a reason for hiding this comment

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

先校对一点。

全文的 Hooks 是否应该改为 Hook,中文不用复数了。参考 React 中文文档的翻译方式 https://zh-hans.reactjs.org/docs/hooks-intro.html

@@ -1,58 +1,58 @@
---
title: "React v16.8: The One With Hooks"
title: "React v16.8: 带有 Hooks 的版本"
Copy link
Collaborator

Choose a reason for hiding this comment

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

React v16.8:带有 Hooks 的版本

冒号用全角,冒号后空格去掉。


## What Are Hooks? {#what-are-hooks}
## 什么是 Hooks? {#what-are-hooks}
Copy link
Collaborator

Choose a reason for hiding this comment

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

问号用全角

* [Making Sense of React Hooks](https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889) explores the new possibilities unlocked by Hooks.
* [useHooks.com](https://usehooks.com/) showcases community-maintained Hooks recipes and demos.
* [Hooks 介绍](/docs/hooks-intro.html) 解释了为什么我们为 React 添加 Hooks。
* [Hooks 一览](/docs/hooks-overview.html) 是快速的对内置 Hooks 的概览。
Copy link
Collaborator

Choose a reason for hiding this comment

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

快速的 => 快速地


**You don't have to learn Hooks right now.** Hooks have no breaking changes, and we have no plans to remove classes from React. The [Hooks FAQ](/docs/hooks-faq.html) describes the gradual adoption strategy.
**你现在并不一定要学 Hooks** Hooks 并没有突破性的改变, 并且我们并没有要删除 React class 的计划。 其中 [Hooks FAQ](/docs/hooks-faq.html) 描述了逐步采纳策略。
Copy link
Collaborator

Choose a reason for hiding this comment

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

image

image

符号细节问题


We don't recommend rewriting your existing applications to use Hooks overnight. Instead, try using Hooks in some of the new components, and let us know what you think. Code using Hooks will work [side by side](/docs/hooks-intro.html#gradual-adoption-strategy) with existing code using classes.
我们不建议立马重写并在你的项目中使用 Hooks。相反, 试着在一些新的组件中使用Hook,并且告诉我们你的想法。使用 Hooks 的代码可以和已经存在的使用 class 的的代码 [一起使用](/docs/hooks-intro.html#gradual-adoption-strategy)
Copy link
Collaborator

Choose a reason for hiding this comment

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

image

符号细节问题

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.

None yet

4 participants