beautiful-react-hooks
A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development
Last updated 16 days ago by antonio.ru .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install beautiful-react-hooks 
SYNC missed versions from official npm registry.

Build Status License: MIT npm GitHub stars

Beautiful React Hooks


A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

???? Live playground here ????

Usage example

???????? English | ???????? 简体中文 | ???????? Italiano | ???????? Español | ???????? Ukrainian | ???????? Brazilian Portuguese | ???????? Polski

???? Why?

React custom hooks allow to abstract components' business logic into single reusable functions.
So far, we've found that most of the hooks we've created and therefore shared between our internal projects have quite often a similar gist that involves callback references, events and components' lifecycle.
For this reason we've tried to sum up that gist into beautiful-react-hooks: a collection of (hopefully) useful React hooks to possibly help other companies and professionals to speed up their development process.

Furthermore, we created a concise yet concrete API having in mind the code readability, focusing to keep the learning curve as lower as possible so that the it can be used and shared in bigger teams.

-- Please before using any hook, read its documentation! --

☕️ Features

  • Concise API
  • Small and lightweight
  • Easy to learn
  • Functional approach
  • Fully written in JS (although TS types are supported)

???? Live playground here ????

???? Install

by using npm:

$ npm install beautiful-react-hooks

by using yarn:

$ yarn add beautiful-react-hooks

???? Hooks

???? Live playground here ????

Contributing

Contributions are very welcome and wanted.

To submit your custom hook, please make sure your read our CONTRIBUTING guidelines.

Before submitting a new merge request, please make sure:

  1. You have updated the package.json version and reported your changes into the CHANGELOG file
  2. make sure you run npm test and npm build before submitting your merge request.
  3. make sure you've added the documentation of your custom hook (you can possibly use the HOOK_DOCUMENTATION_TEMPLATE to document your custom hook).
  4. make sure you've updated the index.d.ts file with your hook types.

Made with

Credits

This library is provided and sponsored by:

Beautiful interactions

As part of our commitment to support and contribute to the open source community.


Icon made by Freepik from www.flaticon.com

Current Tags

  • 0.25.5                                ...           latest (16 days ago)

48 Versions

  • 0.25.5                                ...           16 days ago
  • 0.25.4                                ...           17 days ago
  • 0.25.3                                ...           17 days ago
  • 0.25.2                                ...           2 months ago
  • 0.25.1                                ...           2 months ago
  • 0.25.0                                ...           2 months ago
  • 0.24.1                                ...           2 months ago
  • 0.23.1                                ...           3 months ago
  • 0.23.0                                ...           4 months ago
  • 0.22.12                                ...           4 months ago
  • 0.22.11                                ...           4 months ago
  • 0.22.10                                ...           4 months ago
  • 0.22.9                                ...           4 months ago
  • 0.22.8                                ...           4 months ago
  • 0.22.6                                ...           4 months ago
  • 0.22.5                                ...           4 months ago
  • 0.22.4                                ...           4 months ago
  • 0.22.3                                ...           4 months ago
  • 0.22.2                                ...           4 months ago
  • 0.22.1                                ...           4 months ago
  • 0.21.1                                ...           4 months ago
  • 0.21.0                                ...           5 months ago
  • 0.20.1                                ...           5 months ago
  • 0.20.0                                ...           5 months ago
  • 0.19.4                                ...           5 months ago
  • 0.19.3                                ...           5 months ago
  • 0.19.2                                ...           5 months ago
  • 0.19.1                                ...           5 months ago
  • 0.19.0                                ...           5 months ago
  • 0.18.2                                ...           5 months ago
  • 0.18.1                                ...           6 months ago
  • 0.18.0                                ...           6 months ago
  • 0.17.2                                ...           6 months ago
  • 0.17.1                                ...           6 months ago
  • 0.17.0                                ...           6 months ago
  • 0.16.0                                ...           6 months ago
  • 0.15.0                                ...           6 months ago
  • 0.14.0                                ...           6 months ago
  • 0.13.8                                ...           6 months ago
  • 0.13.7                                ...           6 months ago
  • 0.13.6                                ...           6 months ago
  • 0.13.5                                ...           6 months ago
  • 0.13.4                                ...           6 months ago
  • 0.13.3                                ...           6 months ago
  • 0.13.1                                ...           6 months ago
  • 0.13.0                                ...           6 months ago
  • 0.12.0                                ...           6 months ago
  • 0.9.3                                ...           6 months ago

Copyright 2014 - 2017 © taobao.org |