0

Since today morning I am getting following error for mine reactjs web app.

Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.

It was working till yesterday but not sure whats happening? Help will be appreciable!

Vikas Hiran
  • 41
  • 1
  • 6
  • 1
    May be you can found any help here : https://stackoverflow.com/questions/51503198/error-error-error-error-you-may-not-call-store-getstate-while-the-reducer – JenuJ Nov 28 '18 at 05:48
  • tldr; Revert back to the working version(v2.15.5) – Shawn Andrews Nov 28 '18 at 05:51
  • Thanks JenuJ. it worked! I disabled chrome extension! Hopefully extension team will fix those bugs in latest versions! – Vikas Hiran Nov 28 '18 at 06:09

1 Answers1

0

Quick Solution

Disable the Chrome extension of Redux Dev tools or remove logger from your code.

Sultan Aslam
  • 5,600
  • 2
  • 38
  • 44