# use-async-toggle

> A React toggle hook with support for async actions

Latest version **1.0.3** (published 2020-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install use-async-toggle
pnpm add use-async-toggle
yarn add use-async-toggle
bun add use-async-toggle
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2020-10-18 |
| First published | 2020-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin Jose |
| Maintainers | kevjose |
| Keywords | react, hooks, react-hooks, async-toggle, react-async-toggle, react-async-hook |

## Links

- npm: https://www.npmjs.com/package/use-async-toggle
- Repository: https://github.com/kevjose/use-async-toggle
- Homepage: https://github.com/kevjose/use-async-toggle#readme
- Issues: https://github.com/kevjose/use-async-toggle/issues
- npm.io page: https://npm.io/package/use-async-toggle

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.12.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2020-10-18
- 1.0.0 — 2020-10-18

## README

## useAsyncToggle

- A react.js toggle hook with support for async actions
- demo with usage can be found at: [https://use-async-toggle.vercel.app/](https://use-async-toggle.vercel.app/)
- detailed implementation with a NextJS application can be seen at the `/example/pages/index.js`

---
_Source: https://npm.io/package/use-async-toggle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
