有问题或建议?欢迎评论区留言,一起交流!
觉得不错的话,订阅 RSS 获取最新更新 📡
主题
每天进步一点点,记录学习React的经历
componentDidMount 组件渲染后执行 componentDidUpdate 数据修改完成 componentWillUnmount 组件卸载前执行
shouldComponentUpdate 返回 false,则不会调用 render()。