afc163

Results 1503 comments of afc163

在你的描述中提到的问题可能导致 React 出现两个版本的问题,这通常与 Node.js 和模块解析的方式有关。以下是一些可能的原因和解决方案: ### 1. `node_modules` 目录结构导致的问题 如果 `core` 和 `blocks` 项目各自都安装了 React 依赖,那么 Node.js 模块解析机制可能会导致加载不同的 React 实例,这会导致两个版本的 React 被加载。 ### 解决方案: - **确保使用相同的 React 版本**:确保在 `core` 和...

那估计又是 mfsu 导致多实例的问题,试试:https://umijs.org/docs/guides/mfsu#react-%E5%A4%9A%E5%AE%9E%E4%BE%8B%E9%97%AE%E9%A2%98

Is it a turbo issue or antd cssinjs issue?

Would be conflicted with https://github.com/react-component/collapse/pull/362

https://github.com/ant-design/ant-design/pull/54776

![Jan-28-2022 11-29-19](https://user-images.githubusercontent.com/507615/151482516-f9cb0b9e-a0ff-4667-a405-a9f07146a32b.gif) 只有第一次切换会重现,版本 Chrome 97.0.4692.99(正式版本) (x86_64)。