タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

reactに関するcancer6のブックマーク (1)

  • React.js cheatsheet

    <Video fullscreen={true} autoplay={false} /> render () { this.props.fullscreen const { fullscreen, autoplay } = this.props ··· } Use this.props to access properties passed to the component. See: Properties constructor(props) { super(props) this.state = { username: undefined } } this.setState({ username: 'rstacruz' }) render () { this.state.username const { username } = this.state ··· } Use states

    React.js cheatsheet
  • 1