Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 761 Bytes

README.md

File metadata and controls

44 lines (37 loc) · 761 Bytes

react-training-koombea

  • Intall nodejs
  • CD into the folder
  • Run npm install -g browserify babel budo
  • Run npm install
  • Run npm run serve

React top lvl API

  • React.createClass
  • React.createElement
  • React.createFactory
  • React.Render
  • React.unmountComponentAtNode
  • React.renderToString
  • React.renderToStaticMarkup
  • React.DOM
  • React.PropTypes
  • React.Children

React component API

  • setState
  • forceUpdate
  • getDOMNode
  • isMounted
  • getInitialState
  • getInitialProps
  • propTypes
  • mixins

React component Lifecycle Methods

  • mounting
    • componentWillMount
    • componentDidMount
  • Updating
    • componentWillReceiveProps
    • shouldComponentUpdate
    • componentWillUpdate
    • componentDidUpdate
  • Unmounting
    • componentWillUnmount