Dispatching actions to retrieve a user input or delete an item off a list allow apps to be dynamic, but what happens when you want to load data into your app from your api server or from a third-party api?

There are several ways to implement asynchronous requests in a Redux application. First, let’s talk about where you make the request itself. Should it be made in a reducer or in an action creator? The answer is in the action creator, but let’s look at why you wouldn’t want to make an async request in a reducer.

Simply put, reducers…

Amit Ranan

Front End Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store