美文网首页
test markdown

test markdown

作者: 黎昕雨泽Henry | 来源:发表于2018-03-04 18:03 被阅读0次

    React

    javascript code

    var names = ['Alice', 'Emily', 'Kate'];
    ReactDOM.render(
      <div>
      {
        names.map(function (name) {
          return <div>Hello, {name}!</div>
        })
      }
      </div>,
      document.getElementById('example')
    );
    

    paste unordered list:
    componentWillMount()
    componentDidMount()
    componentWillUpdate(object nextProps, object nextState)
    componentDidUpdate(object prevProps, object prevState)
    componentWillUnmount()

    相关文章

      网友评论

          本文标题:test markdown

          本文链接:https://www.haomeiwen.com/subject/zglqfftx.html