How Redux Observable Made Ajax Calls Great Againby@lahek-ette
1,536 reads
1,536 reads

How Redux Observable Made Ajax Calls Great Again

by Lahek Ette5mApril 3rd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The React Select Async Paginate library doesn’t support async pagination on a menu scroll. The React Observable is a middleware for Redux that allows you to filter and map action using RxJS operators. It can handle cancellation and other side effects. With “Redux Observable” the ajax API calls are separated in one folder. We created an action for fetching repository branches from the GitHub API, and one more action to dispatch when fetching data is done with success. When a user is not scroll to the end, we will not make the unnecessary API call.

Company Mentioned

Mention Thumbnail
featured image - How Redux Observable Made Ajax Calls Great Again
Lahek Ette HackerNoon profile picture
Lahek Ette

Lahek Ette

@lahek-ette

Full Stack Developer

About @lahek-ette
LEARN MORE ABOUT @LAHEK-ETTE'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Lahek Ette HackerNoon profile picture
Lahek Ette@lahek-ette
Full Stack Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!