-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
UMI3顶层用了rudex封装 #4205
Comments
Umi 没有内置 redux,应该是开了啥插件吧。问题是啥?这个 Provider 哪来的吗?应该是 plugin-initial-state 加的。 |
我并没有用dva和plugin-initial-state这个插件,为了代码的可阅读性,不知有没有办法关掉外层的Provider |
你应该是配了 preset-react,可能由于某些原因 plugin-initial-state 被无开启了,可配置 initialState: false 关闭试试。 |
谢谢,已经找到查找关闭插件相关方法非常实用分享一下:
|
Context
The text was updated successfully, but these errors were encountered: