Skip to content

Commit 751394d

Browse files
authored
docs(cn): merge reactjs.org into zh-hans @ a11c253
2 parents f20052d + 49c40f0 commit 751394d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

content/docs/thinking-in-react.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ React 最棒的部分之一是引导我们思考如何构建一个应用。在
3939

4040
在实践中,因为你经常是在向用户展示 JSON 数据模型,所以如果你的模型设计得恰当,UI(或者说组件结构)便会与数据模型一一对应,这是因为 UI 和数据模型都会倾向于遵守相同的*信息结构*。将 UI 分离为组件,其中每个组件需与数据模型的某部分匹配。
4141

42-
![Component diagram](../images/blog/thinking-in-react-components.png)
42+
![组件嵌套图示](../images/blog/thinking-in-react-components.png)
4343

44-
你会看到我们的应用中包含五个组件。我们已经将每个组件展示的数据标注为了斜体。
44+
你会看到我们的应用中包含五个组件。我们已经将每个组件展示的数据标注为了斜体。图片中的序号与下方列表中的序号对应。
4545

4646
1. **`FilterableProductTable` (橙色):** 是整个示例应用的整体
4747
2. **`SearchBar` (蓝色):** 接受所有的*用户输入*
13.3 KB
Loading

src/components/Banner/Banner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {colors, fonts, media} from 'theme';
1111
import ExternalLinkSvg from 'templates/components/ExternalLinkSvg';
1212

1313
const linkProps = {
14-
href: 'https://www.surveymonkey.co.uk/r/673TZ7T',
14+
href: 'https://surveys.savanta.com/survey/selfserve/21e3/210643?list=2',
1515
target: '_blank',
1616
rel: 'noopener',
1717
};
@@ -135,7 +135,7 @@ export default function Banner() {
135135
target="_blank"
136136
rel="noopener">
137137
<span css={{color: colors.brand}}>
138-
参与 2020 社区问卷调查!
138+
参与 2021 社区问卷调查!
139139
</span>
140140
<ExternalLinkSvg
141141
cssProps={{

src/html.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ export default class HTML extends React.Component<Props> {
6262
}
6363
6464
activeBanner = {
65-
storageId: 'reactjs_banner_2020survey',
65+
storageId: 'reactjs_banner_2021survey',
6666
normalHeight: 50,
6767
smallHeight: 75,
68-
campaignStartDate: '2020-10-05T00:00:00Z', // the Z is for UTC
69-
campaignEndDate: '2020-10-19T00:00:00Z', // the Z is for UTC
68+
campaignStartDate: '2021-08-16T00:00:00Z', // the Z is for UTC
69+
campaignEndDate: '2021-08-31T00:00:00Z', // the Z is for UTC
7070
snoozeForDays: 7,
7171
};
7272

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14633,9 +14633,9 @@ tar-stream@^2.0.0:
1463314633
readable-stream "^3.1.1"
1463414634

1463514635
tar@^6.0.2:
14636-
version "6.0.5"
14637-
resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.5.tgz#bde815086e10b39f1dcd298e89d596e1535e200f"
14638-
integrity sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg==
14636+
version "6.1.11"
14637+
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621"
14638+
integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==
1463914639
dependencies:
1464014640
chownr "^2.0.0"
1464114641
fs-minipass "^2.0.0"

0 commit comments

Comments
 (0)