react 17生命周期
2021-03-22 本文已影响0人
米诺zuo
Mounting
Note:
These methods are considered legacy and you should avoid them in new code:
Updating
static getDerivedStateFromProps()
shouldComponentUpdate()
render()
getSnapshotBeforeUpdate()
componentDidUpdate()
Note:
These methods are considered legacy and you should avoid them in new code: