我有一些错误 .
https://jsbin.com/rapagaw/1/edit?html,js,output
Uncaught Invariant Violation:无法在“Connect(Counter)”的上下文或道具中找到“store” . 将根组件包装在a中,或者将“store”显式传递为“Connect(Counter)”的prop .
我看了https://github.com/reactjs/react-redux/blob/master/docs/troubleshooting.md#troubleshooting
但这没用 .
请帮忙 .
1 回答
在你的html中拉入最新版本的
React
:更改
至