1.0.7 • Published 7 years ago

xiaoguo v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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>
    )
}
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago