Skip to content

Commit 8bccfd2

Browse files
committed
Resolve merge conflict
Related to c505057
1 parent 8442d2a commit 8bccfd2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

content/docs/lifting-state-up.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,6 @@ state를 끌어올리는 작업은 양방향 바인딩 접근 방식보다 더
324324

325325
어떤 값이 props 또는 state로부터 계산될 수 있다면, 아마도 그 값을 state에 두어서는 안 됩니다. 예를 들어 `celsiusValue``fahrenheitValue`를 둘 다 저장하는 대신, 단지 최근에 변경된 `temperature``scale`만 저장하면 됩니다. 다른 입력 필드의 값은 항상 그 값들에 기반해서 `render()` 메서드 안에서 계산될 수 있습니다. 이를 통해 사용자 입력값의 정밀도를 유지한 채 다른 필드의 입력값에 반올림을 지우거나 적용할 수 있게 됩니다.
326326

327-
<<<<<<< HEAD
328-
UI에서 무언가 잘못된 부분이 있을 경우, [React Developer Tools](https://github.com/facebook/react-devtools)를 이용하여 props를 검사하고 state를 갱신할 책임이 있는 컴포넌트를 찾을 때까지 트리를 따라 탐색해보세요. 이렇게 함으로써 소스 코드에서 버그를 추적할 수 있습니다.
329-
=======
330-
When you see something wrong in the UI, you can use [React Developer Tools](https://github.com/facebook/react/tree/master/packages/react-devtools) to inspect the props and move up the tree until you find the component responsible for updating the state. This lets you trace the bugs to their source:
331-
>>>>>>> 081bb31226919062938ef924472ba1b4170facfc
327+
UI에서 무언가 잘못된 부분이 있을 경우, [React Developer Tools](https://github.com/facebook/react/tree/master/packages/react-devtools)를 이용하여 props를 검사하고 state를 갱신할 책임이 있는 컴포넌트를 찾을 때까지 트리를 따라 탐색해보세요. 이렇게 함으로써 소스 코드에서 버그를 추적할 수 있습니다.
332328

333329
<img src="../images/docs/react-devtools-state.gif" alt="Monitoring State in React DevTools" max-width="100%" height="100%">

0 commit comments

Comments
 (0)