Skip to content

Commit 1322ec4

Browse files
committed
Change translation
1 parent 84a8e35 commit 1322ec4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/docs/state-and-lifecycle.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ class Clock extends React.Component {
152152
}
153153
```
154154

155-
2) Add a [클래스 constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes#Constructor) that assigns the initial `this.state`:
156-
2) 초기 `this.state`를 지정하는 [class constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes#Constructor)를 추가합니다.
155+
2) Add a [class constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes#Constructor) that assigns the initial `this.state`:
156+
2) 초기 `this.state`를 지정하는 [클래스 constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes#Constructor)를 추가합니다.
157157

158158
```js{4}
159159
class Clock extends React.Component {
@@ -304,6 +304,7 @@ We will tear down the timer in the `componentWillUnmount()` lifecycle method:
304304

305305
Finally, we will implement a method called `tick()` that the `Clock` component will run every second.
306306
마지막으로 `Clock` 컴포넌트가 매초 작동하도록 하는 `tick()`이라는 메서드를 구현해 보겠습니다.
307+
307308
It will use `this.setState()` to schedule updates to the component local state:
308309
이것은 컴포넌트 로컬 state를 업데이트하기 위해 `this.setState()`를 사용합니다.
309310

0 commit comments

Comments
 (0)