Skip to content
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.

docs: update reactive translation #52

Closed
wants to merge 19 commits into from
Closed

docs: update reactive translation #52

wants to merge 19 commits into from

Conversation

veaba
Copy link
Member

@veaba veaba commented Sep 15, 2020

@veaba veaba requested review from Jinjiang and Justineo September 15, 2020 07:33
@@ -225,7 +225,7 @@

- **渲染函数/JSX 的方法**

`setup` 还可以返回一个 render 函数,该函数可以直接使用在同一作用域中声明的反应状态
`setup` 还可以返回一个 render 函数,该函数可以直接使用在同一作用域中声明的响应式状态
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`setup` 还可以返回一个 render 函数,该函数可以直接使用在同一作用域中声明的响应式状态:
`setup` 还可以返回一个渲染函数,该函数可以直接使用在同一作用域中声明的响应式状态:

@@ -9,11 +9,11 @@

## 控制更新

感谢 Vue 的反应系统,它总是知道什么时候更新 (如果你使用正确的话)。但是,在某些边缘情况下,你可能希望强制更新,尽管事实上没有任何反应性数据发生更改。还有一些情况下,你可能希望防止不必要的更新。
感谢 Vue 的响应式系统,它总是知道什么时候更新 (如果你使用正确的话)。但是,在某些边缘情况下,你可能希望强制更新,尽管事实上没有任何响应式数据发生更改。还有一些情况下,你可能希望防止不必要的更新。
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
感谢 Vue 的响应式系统,它总是知道什么时候更新 (如果你使用正确的话)。但是,在某些边缘情况下,你可能希望强制更新,尽管事实上没有任何响应式数据发生更改。还有一些情况下,你可能希望防止不必要的更新。
得益于其响应式系统,Vue 总是知道何时更新 (如果你使用正确的话)。但是,在某些边缘情况下,你可能希望强制更新,尽管事实上没有任何响应式数据发生更改。还有一些情况下,你可能希望防止不必要的更新。

@@ -97,7 +97,7 @@ app.component('todo-list', {

## 与响应式一起工作
Copy link
Member

Choose a reason for hiding this comment

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

我在想,reactive 译为“响应式”的话,reactivity 是不是翻译为“响应性”更好?

@veaba @Jinjiang

Copy link
Member Author

Choose a reason for hiding this comment

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

我在想,reactive 译为“响应式”的话,reactivity 是不是翻译为“响应性”更好?

@veaba @Jinjiang

你这么一说,我自己都糊涂了,:joy: 响应式响应性 分不清。

我摘了英文版 实际例子来对比下。

例子 代入翻译
reactive proxy 响应式prop
reactive state 响应式状态
reactive property 响应式 property
reactivity tracking 响应性追踪
losing reactivity 丢失响应性
reactivity system 响应性系统

好像也说的过去,响应式 换成 响应性可以,但反过来,似乎不是很顺。

@@ -32,7 +32,7 @@ export default {
```

:::warning
但是,因为 `props` 是响应性的,你不能**使用 ES6 解构**,因为它会消除 prop 的反应性
但是,因为 `props` 是响应性的,你不能**使用 ES6 解构**,因为它会消除 prop 的响应式
Copy link
Member

Choose a reason for hiding this comment

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

同上

Copy link
Member Author

Choose a reason for hiding this comment

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

@Justineo#53 讨论的,形容词reactive 用响应式,名词reactivity用响应性

ajycc20 and others added 2 commits September 15, 2020 16:45
@veaba veaba closed this Sep 16, 2020
@veaba
Copy link
Member Author

veaba commented Sep 16, 2020

该 PR 需要重新处理。

@veaba veaba deleted the docs-reactive branch September 16, 2020 21:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants