引用createStore时报错
来源:5-4 创建 redux 中的 store
weixin_慕UI6536183
2022-12-16
export ‘default’ (imported as ‘createStore’) was not found in ‘redux’ (possible exports: __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore)
为啥引用createStore会报错
写回答
2回答
-
Dell
2022-12-17
确实应该是 createStore 方法错了,看下官方文档
00 -
weixin_慕UI6536183
提问者
2022-12-16
代码就是跟着老师敲的,redux是4.2.0版本的
012022-12-16
相似问题