Skip to content

Releases: async-library/react-async

Pass props to promiseFn

08 Oct 14:42
Compare
Choose a tag to compare
  • Pass all props on <Async> as object argument to promiseFn

Custom instances

08 Oct 14:39
Compare
Choose a tag to compare
  • Allow creating custom instances of Async

Add React as peer dependency

08 Oct 14:38
Compare
Choose a tag to compare
  • Adds react as peer dependency

Initial release

08 Oct 14:36
Compare
Choose a tag to compare
  • Choose between Render Props and Context-based helper components
  • Provides convenient isLoading, startedAt and finishedAt metadata
  • Provides cancel and reload actions
  • Automatic re-run using watch prop
  • Accepts onResolved and onRejected callbacks
  • Supports optimistic updates using setData