Skip to content

Latest commit

Β 

History

History
57 lines (44 loc) Β· 1.47 KB

README.md

File metadata and controls

57 lines (44 loc) Β· 1.47 KB


πŸ“¦βœ¨
react-use-pkg

The unusual custom react hooks library

npm package npm package license bundle size npm size

Install

npm install --save react-use-pkg

Lists

  • useFormatMoney β€” convert number to Intl format number.
  • useZipCode β€” return JSON data of international Zip Code number
  • useFetchWithCORS β€” enable CORS in client if you don't have access to server
  • useToggle β€” toggle state easily
  • useWillUnmount β€” Hook for ComponentWillUnmount lifecycle
  • useGetUnique β€” Hook for getting unique array
  • useAbortController β€” Hook for cancel promise
  • useLoadScript β€” Hook for loading external script and embed it
  • useTwitterAvatar β€” Get your Twitter Avatar Hook

License

MIT Β© irhamputra