An open API service indexing awesome lists of open source software.

https://github.com/lxsmnsyc/re-use

⚛️ 🎣 A collection of hooks for ReasonReact
https://github.com/lxsmnsyc/re-use

react-hooks reason-react reasonml

Last synced: 5 months ago
JSON representation

⚛️ 🎣 A collection of hooks for ReasonReact

Awesome Lists containing this project

README

          

# @lxsmnsyc/re-use

> ⚛️ 🎣 A collection of hooks for ReasonReact

[![NPM](https://img.shields.io/npm/v/@lxsmnsyc/re-use.svg)](https://www.npmjs.com/package/@lxsmnsyc/re-use) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @lxsmnsyc/re-use
```

```bash
yarn add @lxsmnsyc/re-use
```

### bsconfig.json

```json
"bs-dependencies": [
"@lxsmnsyc/re-use"
],
```

## Hooks

- Constant
- ConstantCallback
- ForceUpdate
- IsomorphicEffect
- LifeCycle
- MountedState
- Mutable
- NativeCallback
- NativeEffect
- NativeIsomorphicEffect
- NativeLayoutEffect
- NativeMemo
- NativeState
- NativeSyncEffect
- OnMount
- OnUnmount
- PageVisibility
- Previous
- Promise
- RefMounted
- SyncEffect
- ThrottledReducer
- ThrottledState
- UpdateEffect
- WindowSize

## License

MIT © [lxsmnsyc](https://github.com/lxsmnsyc)