Skip to content

Repository files navigation


📦✨
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


About

The unusual React Hooks 📦✨

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages