Simple HOC that handles loading, error and no result states of data fetching.
npm install @unleashit/async-handler


HOC that takes an async function and returns views for loading, no-data and error states. It accepts an optional method to check a cache before the async function is run.
> _This component has been deprecated_. React Query is a better featured and hook based alternative.
````
npm install @unleashit/async-handler
https://unleashit.github.io/npm-library/components/asyncHandler
https://npm-library-demo.vercel.app/async-handler