-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
重复渲染问题 #599
Comments
我也遇到了 |
1、左侧菜单是树形目录,需要递归遍历,老是重复渲染,在i3低配置的笔记本上,根本就是卡死 |
菜单这种不经常变动的,可以缓存,或者间接生成。这一点,我觉得ant-design-pro 好些,但是界面没有这个好看,吐槽。 |
同样碰到一个页面渲染若干次,尤其是用了setInterval定时刷新的页面更不得了了,直接干爆 |
related #667 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
打断点试了一下,每次打开菜单,都会多次重复渲染。其实第一次渲染页面就出来了
![image](https://user-images.githubusercontent.com/10161473/30517886-067ffcc6-9ba0-11e7-8dcf-d17e9d492cf2.png)
The text was updated successfully, but these errors were encountered: