Skip to content

Commit 42a0fc0

Browse files
authored
docs: update referencing-values-with-refs.md (#1386)
issue #1385 <!-- PR을 보내주셔서 감사합니다! 여러분과 같은 기여자들이 React를 더욱 멋지게 만듭니다! 기존 이슈와 관련된 PR이라면, 아래에 이슈 번호를 추가해주세요. --> # Ref로 값 참조하기 챕터의 "챌린지 3 of 4: debouncing 수정" 코드 예시가 원문 코드 예시와 불일치 <!-- 어떤 종류의 PR인지 상세 내용을 작성해주세요. --> Ref로 값 참조하기 챕터의 "챌린지 3 of 4: debouncing 수정" 코드 예시를 풀어보던 중 이상한 점을 발견하고 원문과 비교해본 결과 코드 예시에 관련이 없는 useState import 구문이 있어 수정하였습니다. ## 필수 확인 사항 - [x] [기여자 행동 강령 규약<sup>Code of Conduct</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CODE_OF_CONDUCT.md) - [x] [기여 가이드라인<sup>Contributing</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CONTRIBUTING.md) - [x] [공통 스타일 가이드<sup>Universal Style Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/universal-style-guide.md) - [x] [번역을 위한 모범 사례<sup>Best Practices for Translation</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/best-practices-for-translation.md) - [x] [번역 용어 정리<sup>Translate Glossary</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/translate-glossary.md) - [x] [`textlint` 가이드<sup>Textlint Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/textlint-guide.md) - [x] [맞춤법 검사<sup>Spelling Check</sup>](https://nara-speller.co.kr/speller/) ## 선택 확인 사항 - [ ] 번역 초안 작성<sup>Draft Translation</sup> - [ ] 리뷰 반영<sup>Resolve Reviews</sup> Co-authored-by: Jaem <91131509+DarkChocoJaem@users.noreply.github.com>
1 parent 4952d81 commit 42a0fc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/content/learn/referencing-values-with-refs.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,6 @@ export default function Toggle() {
477477
<Sandpack>
478478

479479
```js
480-
import { useState } from 'react';
481-
482480
let timeoutID;
483481

484482
function DebouncedButton({ onClick, children }) {

0 commit comments

Comments
 (0)