useLoadingFn

A React Hooks for handling loading state with ease, alias of useAsyncFn.

Demo

Source
Loading:
false
Value:
click to fetch

Usage

See API for more details.

Source

Click links below to view source on GitHub.

API

See useAsyncFn#api for more details.

ON THIS PAGE