You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
🧐 问题描述 [详细地描述问题,让大家都能理解]
在同一级子菜单下,分别点击两个子菜单,会发现响应和动画都出现卡顿,参见下方的动图
简单用react性能工具分析了一下,是因为layout中的menu在响应点击的时候,做了整个菜单的更新,这样子看起来是做了多余的render
请问有没有优化的思路呢
💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: