Releases: async-library/react-async
Releases · async-library/react-async
Pass props to promiseFn
- Pass all props on
<Async>
as object argument topromiseFn
Custom instances
- Allow creating custom instances of Async
Add React as peer dependency
- Adds
react
as peer dependency
Initial release
- Choose between Render Props and Context-based helper components
- Provides convenient
isLoading
,startedAt
andfinishedAt
metadata - Provides
cancel
andreload
actions - Automatic re-run using
watch
prop - Accepts
onResolved
andonRejected
callbacks - Supports optimistic updates using
setData