Error: Could not find "store" in the context of "Connect(Component)". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(Component) in connect options. #78
Error: Could not find "store" in the context of "Connect(Component)". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to Connect(Component) in connect options.
使用reaux-dom v1.4.2 安装完 react-beautiful-dnd v13.1.1 后出现错误
Error: Could not find "store" in the context of "Connect(Component)". Either wrap the root component in a, or pass a custom React context provider to and the corresponding React context consumer to Connect(Component) in connect options.
Call Stack ConnectFunction node_modules/reaux/node_modules/react-redux/es/components/connect.js:266:15 renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19583:20 updateSimpleMemoComponent node_modules/react-dom/cjs/react-dom.development.js:19420:10 updateMemoComponent node_modules/react-dom/cjs/react-dom.development.js:19279:14 beginWork node_modules/react-dom/cjs/react-dom.development.js:21668:16 HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 Object.invokeGuardedCallbackDev node_modules/react-dom/cjs/react-dom.development.js:4213:16 invokeGuardedCallback node_modules/react-dom/cjs/react-dom.development.js:4277:31 beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27446:7