-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
Deploy preview for cn-reactjs ready! Built with commit e42ef65 |
Deploy preview for zh-hans-reactjs ready! Built with commit e42ef65 |
There was a problem hiding this 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 的版本" |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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 的概览。 |
There was a problem hiding this comment.
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) 描述了逐步采纳策略。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
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)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.