【文件属性】:
文件名称:learnreact:React全部
文件大小:63KB
文件格式:ZIP
更新时间:2021-05-10 20:42:16
JavaScript
learnreact
react todo
创建组建的生命周期
constructor
componentWillMount
render
componentDidMount
state更新组建的生命周期
shouldComponentUpdate
componentWillUpdate
render
componentDidUpdate
props更新组建的生命周期
componentWillReceiveProps
shouldComponentUpdate
componentWillUpdate
render
componentDidUpdate
React-Router4
route
Route props 包含(match location history)
Route render methods(render/component/children) | render性能优于
【文件预览】:
learnreact-master
----package.json(895B)
----LICENSE(1KB)
----src()
--------component()
--------index.html(466B)
--------app.jsx(764B)
--------pages()
----.gitignore(33B)
----webpack.config.js(2KB)
----README.md(1KB)
----yarn.lock(194KB)
----.vscode()
--------settings.json(38B)