Hi,
I am new to Reac&Redux app.
I use create-react-app but sometimes i have error in google chrome
Uncaught TypeError: Cannot read property 'apply' of undefined
after restart the google chrome, app works for me
in other browsers do not have this error
This is not a problem with Create React App itself. As you can see it throws inside configureStore
so you鈥檙e likely passing something invalid to it. For example, maybe you use Redux DevTools and pass undefined
to compose()
or something like this. It鈥檚 hard to say without a code example, and I鈥檒l close since it鈥檚 not specific to Create React App, but feel free to continue the discussion or link to a failing project that can reproduce this.
thank you very much you are right
I had the same problem and I could solve it with the info in this two links When browser doesn't have the redux devtools extension the app throws an undefined error Y Advanced store setup
Thanks @falzate81! I install the Redux dev tools and the bug was fixed!
thanks @icarlossz
redux dev tools fixed this for me
Most helpful comment
I had the same problem and I could solve it with the info in this two links When browser doesn't have the redux devtools extension the app throws an undefined error Y Advanced store setup