当做固定写法吧

截图里少一个括号,已代码为主

import {createStore,applyMiddleware,compose} from 'redux'
import thunk from 'redux-thunk'
import reducer from './reducer' const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}):compose const enhancer = composeEnhancers(applyMiddleware(thunk))
// const store = createStore(reducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__())
const store = createStore(reducer, enhancer)
export default store

  

最新文章

  1. 不一样的dynamic解析json 万能方法
  2. android原生ExpandableListView
  3. error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainCRTStartup 中被引用
  4. iOS-工作经验+资料分享(长期更新)
  5. trackr: An AngularJS app with a Java 8 backend – Part III
  6. 430flash的操作
  7. 教程-Delphi 调用控制面板设置功能
  8. OOM-killer 线上设置 +vm +OOM机制
  9. OpenJDK1.8 安装
  10. OC - 3.OC的三大特性
  11. [PWA] Enable Push Notification in your web app
  12. 一个封装HTTP请求的函数(C++)
  13. new thoughts over function pointers
  14. SWFUpload文件上传详解
  15. Java虚拟机定义
  16. UOJ14 UER #1 DZY Loves Graph(最小生成树+并查集)
  17. 团队项目:Recycle
  18. hMailServer配置图文详细教程
  19. C#编写CLR函数
  20. 【API知识】ElementUI一些问题的解决方案

热门文章

  1. java学习-IDEA相关使用
  2. 玩转PubSubClient MQTT库
  3. ESP8266开发之旅 网络篇⑩ UDP服务
  4. ThingJS和传统3D开发的区别
  5. java中多线程 - 多线程中的基本方法
  6. epoll(2) 源码分析
  7. Spring cloud 学习笔记
  8. Gitlab在Centos7上的安装
  9. SpringCloud之Hystrix断路器(六)
  10. 【Windows系统】win10系统假死,窗口不能动,鼠标能动或不能动,最后蓝屏显示错误码: VIDEO_DXGKRNL_FATAL_ERROR 的解决办法