Use redux-observable for simple Ajax requests

Share this video with your friends

Send Tweet

In this lesson we’ll learn how to perform an Ajax request to an external API in response to an action in the redux store. We’ll see how, within the epic, we get access to actions after any reducers have been executed and how we can convert that incoming action into a resulting one that will save the data received into the redux store.

Vamshi
Vamshi
~ 7 years ago

This is epic!

Stephen
Stephen
~ 7 years ago

Sadly, this is all out of date now, and there are even issues with the current rxjs implementation of ajax. Further it seems, redux-observable isn't implementing those changes.

Marcin
Marcin
~ 6 years ago

One was this .map nested? It was not necessary