Contributing to React!

45daf58c77e9dbbab5a1c8a5afc7ac5c?s=47 koba04
February 01, 2018

Contributing to React!

React.js meetup #5

45daf58c77e9dbbab5a1c8a5afc7ac5c?s=128

koba04

February 01, 2018
Tweet

Transcript

  1. $POUSJCVUJOHUP3FBDU 3FBDUKTNFFUVQ   !LPCB

  2. None
  3. CFGPSFUIBUʜ

  4. 5PQJDT

  5. %FQSFDBUFVOTBGFMJGFDZDMFT w DPNQPOFOU8JMM.PVOU DPNQPOFOU8JMM3FDFJWF1SPQT  DPNQPOFOU8JMM6QEBUF w W"EEJOH6/4"'&@YYYNFUIPET w W"EEJOHEFQSFDBUFXBSOJOHTUPUIFNFUIPET

    w W3FNPWFUIFNFUIPET w TUBUJDHFU%FSJWFE4UBUF'SPN1SPQT QSPQT QSFW4UBUF
  6. /FX$POUFYU"1* const ThemeContext = React.createContext(‘light’); const Title = ({title}) =>

    ( <ThemeContext.Consumer> {theme => <h1 className={theme}>{title}</h1>} </ThemeContext> ); class App extends React.Component { state = {theme: ‘light’}; render() { return ( <ThemeContext.Provider value={this.state.theme}> <Title>Hello</Title> </ThemeContext> ); } }
  7. $POUSJCVUJOHUP3FBDU

  8. #)BWFZPVFWFSDPOUSJCVUFEUP 3FBDU

  9. )BWFZPVFWFSXSJUUFOBOFOUSZ SFMBUFE3FBDU

  10. 13JTOPUUIFPOMZXBZUPDPOUSJCVUF 044

  11. $POUSJCVUJOHUP%PDVNFOUBUJPOT

  12. None
  13. SFBDUKTSFBDUKTPSH

  14. IUUQTDSPXEJODPNQSPKFDUSFBDU

  15. 5SBOTMBUJPO

  16. None
  17. None
  18. $POUSJCVUJOHUP3FBDU

  19. https://reactjs.org/docs/how-to-contribute.html

  20. https://reactjs.org/docs/codebase-overview.html

  21. https://reactjs.org/docs/implementation-notes.html

  22. https://reactjs.org/docs/design-principles.html

  23. https://reactjs.org/blog/2017/12/15/improving-the-repository-infrastructure.html

  24. None
  25. None
  26. None
  27. 3FBDU

  28. )PXUPDPOUSJCVUFUP3FBDU % // Fork and clone facebook/react % // Create

    a PR branch % // Write a patch % yarn test or yarn test —watch XXX % yarn test-prod % yarn prettier % yarn lint % yarn flow % // Send a PR!
  29. )PXUPDPOUSJCVUFUP3FBDU packages/ !"" events !"" react !"" react-art !"" react-call-return

    !"" react-dom !"" react-native-renderer !"" react-noop-renderer !"" react-reconciler !"" react-test-renderer #"" shared
  30. -FU`T$POUSJCVUFUP3FBDU TQFBLFSEFDLDPNLPCB