How to use Redux-Thunk with Redux Toolkits createSlice? You'd still use an async middleware (typically redux-thunk), fetch data, and dispatch actions with the results As of Redux Toolkit 1 3, we do have a helper method called createAsyncThunk that generates the action creators and does request lifecycle action dispatching for you, but it's still the same standard process
Difference between an action creator using redux thunk and a normal . . . 3 So I want to understand beyond the basics of Redux thunk and I made two action creators, one of which works and uses redux thunk and other which only uses async but breaks Below is the screenshot: So in both action creators I await for the API request to finish and then return an action ( a JS object with type and payload)