-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug] MFSU x Valtio 报错 #10560
Labels
Comments
mfsu 可以默认配置 react singleton true 吗,因为 react 必然要是单实例的。 |
react 就需要两边都编译 有一定的性能损耗 |
react 只有 10kb ,相比损耗貌似出现这个问题的概率要大一些。 |
可以考虑 benchmark 看下 决定搞不搞 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
复现步骤:
1、git clone umijs/umi 后切换到 sorrycc-14dt 分支(如果这个分支没了,那应该是已合并到 master)
2、修改 ui/.umirc.ts,删除
mfsu: false
3、执行 pnpm --filter @umijs/ui dev,报错如下
期望:
不报错。
The text was updated successfully, but these errors were encountered: