xiaoguo
通过jsx语法来编写一些小应用
Last updated a year ago by liz2z .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install xiaoguo 
SYNC missed versions from official npm registry.

U

通过jsx模板语法来编写简易的小应用

一个简易的实现,可以支持通过jsx模板语法来编写简易的小应用,但不具备数据更新功能。最好搭配U-CLI使用

import U from 'U'
class extends U.Component {
  // 已挂载, 用于注册事件
  componentDidMount(){

  }
  // 已卸载, 用于注销事件
  componentWillUnmount(){

  }
  render(){
    return (
      <div>
      //...
      </div>
    )
  }
}
// or
function(props) {
  return (
      <div>
      //...
      </div>
    )
}

Current Tags

  • 1.0.7                                ...           latest (a year ago)

8 Versions

  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 30
Dependencies (0)
None
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |