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
- Host: GitHub
- URL: https://github.com/lxsmnsyc/re-use
- Owner: lxsmnsyc
- License: mit
- Created: 2019-11-18T06:01:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T08:27:52.000Z (almost 2 years ago)
- Last Synced: 2025-09-18T08:21:24.298Z (9 months ago)
- Topics: react-hooks, reason-react, reasonml
- Language: Reason
- Size: 170 KB
- Stars: 27
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# @lxsmnsyc/re-use
> ⚛️ 🎣 A collection of hooks for ReasonReact
[](https://www.npmjs.com/package/@lxsmnsyc/re-use) [](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)