-
Notifications
You must be signed in to change notification settings - Fork 141
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
缓存页面是个table 数据100条时 切换很卡顿 有什么优化的手段吗 #207
Comments
提供个思路,可以尝试利用缓存生命周期,在缓存时清空表格数据,缓存恢复后还原表格数据,减少 dom 数量 |
const refDataSource = useRef<IIntelligenceListItem[]>([]); 这样还是很卡顿 |
可能得看看能不能换成虚拟列表 |
遇到了同样的问题;已经用骚操作解决了;具体代码如下: |
@JokerAn @lihuan-bot |
确实解决了,至于性能的下降,目前并未感觉到,nice |
No description provided.
The text was updated successfully, but these errors were encountered: