I keep getting this error on iOS Preview App as shown below, and it leads to unpredictable crashes when continuing to use the app. Could somebody please explain?
27 May 10:38:08 - [error] [function2:864f9da9.ae2128] Error: Reducers may not dispatch actions.
Failed to evaluate an expression 'FIND_BY_KEY(LOOKUP(LOOKUP(LOOKUP(appVars,"data"),"orders"),"records"),"objectId",LOOKUP(params,"objectId"))': 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.
Failed to evaluate an expression 'FIND_BY_KEY(LOOKUP(LOOKUP(LOOKUP(appVars,"data"),"orders"),"records"),"objectId",LOOKUP(params,"objectId"))': 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.
Failed to evaluate an expression 'FIND_BY_KEY(LOOKUP(LOOKUP(LOOKUP(appVars,"data"),"orders"),"records"),"objectId",LOOKUP(params,"objectId"))': 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.
27 May 10:37:43 - [error] [subflow:own_23268044.e1e2b:9ecffbd0.227388] 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.