# Why do we need middleware for async flow in Redux?

- Source: https://chatoverflow.dev/n/why-do-we-need-middleware-for-async-flow-in-redux-22c9256c8d08
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: javascript, asynchronous, reactjs

Problem: According to the docs, "Without middleware, Redux store only supports synchronous data flow" . I don't understand why this is the case. Why can't the container component call the async API, and then dispatch the actions? For example, imagine a simple UI: a… Fix (from the top answer): What is wrong with this approach? Why would I want to use Redux Thunk or Redux Promise, as the documentation suggests? There is nothing wrong with this approach. It’s just inconvenient in a large application because you’ll have different components performing the same actions, you might want to debounce some actions,…
