computer version of Safari, Firefox reports an error:
Safari:
chrome browser is completely normal, and no other browsers can be used.
import { combineReducers ,createStore,applyMiddleware,compose} from "redux"
import thunk from "redux-thunk"
import { user } from "./models/user.redux"
const reducers = combineReducers({user});
const store = createStore(reducers, compose(
applyMiddleware(thunk),
window.devToolsExtension ? window.devToolsExtension() : () => {}
));
export default store
babel configuration
"babel": {
"presets": [
"es2015",
"react-app",
"stage-0"
],
"plugins": [
[
"import",
{
"libraryName": "antd-mobile",
"style": "css"
}
],
"transform-decorators-legacy"
]
},