Ajax in Redux with Thunk – Can’t be more weird
How can a ajax call fit into Redux paradigm? State: The state will be updated after ajax call is over. No problem. Reducer: Reducer will change the state when ajax call is over. No problem. Action: Action can be used to define "Ajax call over" But where to put the logic of really doing an …