Closed vscing closed 1 year ago
使用react-router v6,路由用的懒加载,第一次/about切到/user就会闪动,再来回切正常。这个你知道有解决方案吗?
有示例么?或者录屏
react 18 导致 antd 菜单折叠时闪烁
这个问题官方还没修复吗?
还有modal组件,主题样式没有作用到上面,是不是要设置挂载节点?
https://ant-design-antd-style-preview-pr-19.surge.sh/api/theme-provider#%E6%B6%88%E8%B4%B9%E9%9D%99%E6%80%81%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95
这个你提到 组件库的仓库吧~ 这个和样式库好像没啥关系?
是不是使用了lazy load
🧐 问题描述
使用react-router v6,路由用的懒加载,第一次/about切到/user就会闪动,再来回切正常。这个你知道有解决方案吗?