State & 生命周期

生命周期:

  mount(挂载)     uunmount(卸载)

  componentDidMount()  组件渲染到DOM后运行

  未完待续...

posted @ 2020-12-15 17:20  病阳阳  阅读(59)  评论(0)    收藏  举报