TypeError: Cannot read property 'getState' of undefined

TypeError: Cannot read property 'getState' of undefined (anonymous function) D:/san/React/jiankang160/node_modules/[email protected]@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;

猜你喜欢

转载自www.cnblogs.com/fahong/p/12459237.html
今日推荐