0
React 's this에 대한 반응 API 규칙은 무엇입니까?React API에 대한 React API 규칙 - 어디입니까?
기록 된 :
이* Here we break React's `this` into tiny little bits, then stitch them together to use type-safety to enforce the
* rules documented in the React API.
그들이에 규칙의 어떤 종류를 참조 할이 코드를 이해하려고 노력하고 있기 때문에
나는이 물어 무엇입니까? 어디서 그 규칙을 읽을 수 있습니까?
이것은 구글이 제공하는 가장 가까운 일 :
https://facebook.github.io/react/docs/top-level-api.html
규칙 여기 어딘가에 있습니까?아니면 이거니?
https://facebook.github.io/react/docs/component-specs.html
나는 이것을 이해하기 시작합니다. 각 lifeCycle 상태는 특정 유형의 범위와 연결됩니다. https://github.com/japgolly/scalajs-react/blob/master/doc/TYPES.md – jhegedus