Translate FAQ > Passing Functions to Components · Pull Request #105 · reactjs/ko.react.dev

@ghost

@ghost ghost changed the title Translate faq-functions Translate FAQ > Passing Functions to Components

Apr 28, 2019

@netlify

@donguks

@taehwanno

@taehwanno

taehwanno

[`requestAnimationFrame`](https://developer.mozilla.org/ko/docs/Web/API/window/requestAnimationFrame)은 렌더링 성능을 위해 브라우저에서 최적화된 시간에 함수가 실행되도록 함수를 큐잉하는 방법입니다. `requestAnimationFrame`의 큐로 들어간 함수는 다음 프레임에서 실행됩니다. 브라우저는 1초당 60프레임(60 fpt)을 보장하기 위해 열심히 일합니다. 하지만 만약에 브라우저가 이를 하지 못할때 저절로 프레임을 *제한*합니다. 예를 들면 한 기기가 30fps만 처리할 수 있다면 1초 동안 30프레임만 얻을 수 있습니다. 스로틀링을 위해 `requestAnimationFrame`을 사용하면 1초에 60번 이상 업데이트하는 것을 막을 수 있습니다. 1초당 100번 업데이트하도록 브라우저에 일을 만들어 주어도, 유저는 이를 확인할 수 없습니다.

>**Note:**
>**주의:**

Choose a reason for hiding this comment

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

주의: -> 주의

ghost

@donguks

@donguks

* 'master' of https://github.com/sdu6342/ko.reactjs.org: (122 commits)
  Resolve merge conflict
  Revert "Added option for more cdns. (#2144)" (#2146)
  Update docs about an existence of .elementType (#2145)
  Added option for more cdns. (#2144)
  Merge conflict
  Reduce confusion about adding additional fields to .this (#2142)
  Resolve merge conflict
  Fix typo and naturally in context. (#153)
  Add Kiel to the list of React Meetups (#2136)
  React Native added support for hooks in 0.59 (#2121)
  [Documentation] Fix: Update link to Chrome Accessibility Inspec… (#2134)
  Add DevExtreme Reactive to the Components list (#2127)
  Revert "fix(Blog): Post title updated to correct word for yes word in spanish (#2122)" (#2130)
  fix(Blog): Post title updated to correct word for yes word in spanish (#2122)
  Resolve merge conflict
  move past conferences to the bottom of the list (#2118)
  Translate components/LayoutFooter (#122)
  Resolve merge conflict
  Update tutorial.md (#2115)
  Update hooks-faq.md (#2113)
  ...

@ghost

꼼꼼하게 리뷰해주셔서 감사합니다.
리뷰 코멘트는 모두 적용했고, 리뷰 내용에 해당되나, 본문에 직접 달지 않은 곳에도 적용했습니다. (예: 불리는, 30프레임)

hg-pyun

Choose a reason for hiding this comment

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

고생하셨습니다.

taehwanno

Choose a reason for hiding this comment

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

정말 고생 많으셨습니다!