Comments (4)
这个应该是我的锅,我之前以为 componentWillReceiveProps
是需要接收 new props
才触发,结果其实不一定:https://facebook.github.io/react/docs/react-component.html#componentwillreceiveprops
然后 PureCompnonent
其实是在 shouldComponentUpdate
里面浅对比,所以因为 componentWillReceiveProps
没有做各项的判断,所以每次 更新都去 renderCharts
了,我统一改一下 🚗
from ant-design-pro.
推荐用下面的命令提交。
git commit -a
格式推荐如下:
xxx xxxx xxx xxx xxx
close #issue_id
see also: #issue_id
* related link: http://xxx.com
from ant-design-pro.
fixed: 9fc1609#diff-b9e446d51c0cf64f75980ecea5c8ff5dR12
from ant-design-pro.
可以关联到 commit message 里。
from ant-design-pro.
Related Issues (20)
- 🧐[问题 | Need a Dockerfile] HOT 1
- 👑 [需求 | Feature]希望openAPI配置是一个数组时,mock的数据可以分目录
- 🐛 [BUG] dynamicImport配置报错
- 🧐[问题 | question] ant design pro如何自定义Header,并且允许Header不是固定在上方。
- 🧐[问题 | question]umi/max 在app.tsx设置菜单侧边背景色colorMenuBackground未生效
- 🐛 [BUG]通过npm run build生成的index.html入口文件中,使用了绝对地址.
- antd pro 的 ProLayout组件 错误边界页面出现时,路由无法切换 🐛 [BUG]
- 这个工程后面还会继续维护吗? 以及后期的版本计划,麻烦告知一下 ,因为正在做选型,感谢 HOT 1
- The operation bar in the list cannot adaptively display list items based on the content of the column, resulting in a single row display
- 🧐[问题 | question] HOT 1
- 想灵活的加一些功能 可惜 咋技术不高 不知道在哪里添加
- 🐛 [BUG] HOT 1
- upload组件上传失败后hover出现异常代码
- AntDesignPro for react 如何在不起后端接口的情况下,使用mock进行模拟权限切换?
- 🐛 [BUG]: broken link
- 🐛 [BUG] ProFormSelect 中传递了默认值,但没有渲染在显示区域中 HOT 1
- 🐛 [BUG] 脚手架生成的空项目路由报错
- 🐛 [BUG] Ant Design Pro 6.0 报警告 Warning: findDOMNode is deprecated and will be removed in the next major release. HOT 2
- 🐛 [BUG] prolayout的属性applist 在移动端不展示
- 🐛 [BUG] new project, mock is not effect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design-pro.