Hey, guys. I dived into React-Redux Beginners friendly guide, following the steps in the tutorial. However, I have got an error and I cannot understand what is wrong.
TypeError: store.getState is not a function
(anonymous function)
node_modules/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;