27
51%
MIT
A collection of hooks for ReasonReact

@lxsmnsyc/re-use

⚛️ 🎣 A collection of hooks for ReasonReact

NPM JavaScript Style Guide

Install

npm install --save @lxsmnsyc/re-use
yarn add @lxsmnsyc/re-use

bsconfig.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