Use redux-observable for simple Ajax requests

InstructorShane Osbourne

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
~ 4 years ago

This is epic!

Stephen
~ 3 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
~ 3 years ago

One was this .map nested? It was not necessary