react组件优化方法 React.pureComponent:类组件React.memo():函数式组件子组件使用shouldComponentUpdate:类组件生命周期React.lazy(): 使用 ReacSuspense 进行代码拆分和懒加载