React 的生命周期图如上所示,主要可分为初始化阶段、挂载阶段、更新阶段、卸载阶段。 ... 发生在constructor 中的内容,在constructor 中进行state、props ...
確定! 回上一頁