NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.
https://nerv.aotu.io
MIT License
5.43k stars 267 forks source link

Uncaught (in promise) TypeError: Cannot read property 'dispatch' of undefined #90

Open kalsolio opened 6 years ago

kalsolio commented 6 years ago
    "nerv-create-class": "^1.3.3",
    "nerv-redux": "^1.3.3",
    "nervjs": "^1.3.3",
    "node-sass": "^4.9.2",
    "prop-types": "^15.5.8",
    "react": "^16.4.1",
    "react-dom": "^16.4.1",
    "react-loadable": "^5.5.0",
    "react-redux": "^5.0.7",
    "react-router-dom": "^4.2.2",
    "redux": "^4.0.0"
      'react': 'nervjs',
      'react-dom': 'nervjs',
      // Not necessary unless you consume a module using `createClass`
      'create-react-class': "nerv-create-class",
      'react-redux': 'nerv-redux',
luckyadam commented 6 years ago

可以贴一下你的使用代码么

em-heqian commented 5 years ago

nerv-redux 中导出的nerv对象只有默认导出没有命名导出 是什么原因啊