TypeError: Cannot read property 'getState' of undefined

TypeError: Cannot read property 'getState' of undefined (anonymous function) D:/san/React/jiankang160/node_modules/_react-redux@7.2.0@react-redux/es/components/Provider.js:19 16 | }; 17 | }, [store]); 18 | var previousState = useMemo(function () { > 19 | return store.getState(); | ^ 20 | }, [store]); 21 | useEffect(function () { 22 | var subscription = contextValue.subscription;

posted @ 2020-03-10 22:19  h_f_h  阅读(1674)  评论(1)    收藏  举报