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.
Share Your Thoughts