# react-towelie

> because react-towel was taken, and you always need your towel, and towelie is your towel

Latest version **0.1.1** (published 2019-07-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-towelie
pnpm add react-towelie
yarn add react-towelie
bun add react-towelie
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-07-05 |
| First published | 2019-07-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 441 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | nikfrank |

## Links

- npm: https://www.npmjs.com/package/react-towelie
- npm.io page: https://npm.io/package/react-towelie

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.8.6
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.6
- [react-scripts](https://npm.io/package/react-scripts.md) 3.0.1

## Recent versions

- 0.1.1 (latest) — 2019-07-05
- 0.1.0 — 2019-07-05

## README

# react towelie

because react-towel was taken, and you always need your towel, and towelie is your towel


Use `useState` and `useEffect` without having to learn them?

great, how's it work?

<sub>./src/App.js</sub>
```js
import React from 'react';
import towelie from 'react-towelie';

export default towelie(({ count, setCount })=> (
  <div onClick={()=> setCount(count+1)}>{count}</div>
), {
  count: 0
}, {}, [
  ({ count }) => count > 10 ? ({ count: 0 }) : null
]);
```

## render
## state
## network
## effects





This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

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