# usestate2

> react useState hook with a reset state method

Latest version **1.0.0** (published 2023-04-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install usestate2
pnpm add usestate2
yarn add usestate2
bun add usestate2
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-04-03 |
| First published | 2023-04-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Islam Yamor |
| Maintainers | samislam |
| Keywords | useState, use-state, hook, react, react-hook, react-hooks, react-use-state, react-use, hooks |

## Links

- npm: https://www.npmjs.com/package/usestate2
- Repository: https://github.com/samislam/useState2
- Homepage: https://github.com/samislam/useState2#readme
- Issues: https://github.com/samislam/useState2/issues
- npm.io page: https://npm.io/package/usestate2

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^18.2.0
- [typescript](https://npm.io/package/typescript.md) ^5.0.2
- [@types/react](https://npm.io/package/@types/react.md) ^18.0.30

## 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.0 (latest) — 2023-04-03

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