Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mangotsing/react.demo-sgyp
react练习
https://github.com/mangotsing/react.demo-sgyp
Last synced: 7 days ago
JSON representation
react练习
- Host: GitHub
- URL: https://github.com/mangotsing/react.demo-sgyp
- Owner: MangoTsing
- Created: 2017-12-07T14:47:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-17T14:54:28.000Z (about 7 years ago)
- Last Synced: 2024-11-17T00:29:48.046Z (2 months ago)
- Language: HTML
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react.demo-sgyp
react练习
因为react不仅仅是引用一个js,还有其他的配置,直接把环境搬到git上有些麻烦,还是部署在个人blog上了。
## 目录
1.hello world!
2.简单的组件
3.简单的组件2
4.简单的表单
5.表单的方法的bind()使用
6.表单方法的event.target.name使用
7.在表单组件中使用另一组件,以及this.props的应用
8.可控的自定义组件
9.生命周期componentDidMount(渲染成功时执行)
10.所有生命周期在 Content 组件中
11.另一种this.state的写法
##