TL;DR —
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.
[story continues]
Written by
@lahek-ette
Full Stack Developer
Topics and
tags
tags
react|redux|redux-observable|react-select|javascript|web-development|coding|front-end-development
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: BcjQAzEaTt2ltfsvBgLKF_wa4R4OkBSXffO_PJjl-W0
