with-async
Avoid boilerplate and a common pitfalls when working with asynchronous data in react.
A soon to be obsolete way of dealing with asynchronous data in react components. Provides a hook, higher-order component and render prop so you can pick your favorite flavor.
Installation
yarn add with-async
Or if using npm
npm install --save with-async
Usage
Check out the demo and the code that drives it folder.
;;;
Polling for changes
;;;
Imperative api
;;;