In classic Redux, with no middleware, you cannot dispatch something that is not a pure object. With Redux Thunk, you can delay the dispatch by dispatching a function:
For instance, you can dispatch a function. Such a function has two arguments: dispatch and getState. This function does not reach the Redux reducers yet. It only delays the ...