antd 组件样式的性能优化

antd 组件样式的性能优化 antd在使用过程当中加载了所有的 antd 组件的样式(对前端性能是个隐患)。 此时咱们须要对 create-react-app 的默认配置进行自定义,这里咱们使用 react-app-rewired (一个对 create-react-app 进行自定义配置的社区解决方案)。 引入 react-app-rewired 并修改 package.json 里的启动配置
相关文章
相关标签/搜索