How Redux Observable Made Ajax Calls Great Again

Written by lahek-ette | Published 2020/04/03
Tech Story Tags: react | redux | redux-observable | react-select | javascript | web-development | coding | front-end-development

TLDR 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.via the TL;DR App

no story

Written by lahek-ette | Full Stack Developer
Published by HackerNoon on 2020/04/03