react-async
https://github.com/async-library/react-async
JavaScript
🍾 Flexible promise-based React data loader
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported1 Subscribers
Add a CodeTriage badge to react-async
Help out
- Issues
- Allow setting new data based on old data
- Add reload button to promises in DevTools
- Infinite loop prevention
- Better TypeScript type inference for `promiseFn` / `deferFn` args
- Integration with Redux
- `<Async.Fulfilled>`'s function gets called with a mix of old&new data on subsequent updates
- Add new prop to be able to skip the initial fetch on component mount
- Add usage example with Axios
- Docs
- JavaScript not yet supported