Gathering detailed insights and metrics for beautiful-react-hooks
Gathering detailed insights and metrics for beautiful-react-hooks
Gathering detailed insights and metrics for beautiful-react-hooks
Gathering detailed insights and metrics for beautiful-react-hooks
eslint-plugin-react-hooks
ESLint rules for React Hooks
@types/react-beautiful-dnd
TypeScript definitions for react-beautiful-dnd
@testing-library/react-hooks
Simple and complete React hooks testing utilities that encourage good testing practices.
use-sync-external-store
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
npm install beautiful-react-hooks
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
8,239 Stars
603 Commits
580 Forks
70 Watching
3 Branches
54 Contributors
Updated on 28 Nov 2024
JavaScript (51.13%)
TypeScript (48.79%)
Shell (0.07%)
Cumulative downloads
Total Downloads
Last day
24.9%
11,081
Compared to previous day
Last week
-1.9%
45,977
Compared to previous week
Last month
-3.6%
198,664
Compared to previous month
Last year
8.7%
1,814,933
Compared to previous year
2
4
50
A collection of tailor-made React hooks to enhance your development process and make it faster.
🇬🇧 English | 🇨🇳 简体中文 | 🇮🇹 Italiano | 🇪🇸 Español | 🇺🇦 Ukrainian | 🇧🇷 Brazilian Portuguese | 🇵🇱 Polski | 🇯🇵 日本語 | 🇹🇷 Türkçe
Custom React hooks allow developers to abstract the business logic of components into single, reusable functions.
I have noticed that many of the hooks I have created and shared across projects involve callbacks, references, events, and dealing with the
component lifecycle.
Therefore, I have created beautiful-react-hooks
, a collection of useful React hooks that may
help other developers speed up their development process.
Moreover, I have strived to create a concise and practical API that emphasizes code readability, while keeping the learning curve as low as
possible, making it suitable for larger teams to use and share
t
-- Please before using any hook, read its documentation! --
by using npm
:
1$ npm install beautiful-react-hooks
by using yarn
:
1$ yarn add beautiful-react-hooks
importing a hooks is as easy as the following straightforward line:
1import useSomeHook from 'beautiful-react-hooks/useSomeHook'
Some hooks are built using third-party libraries (such as rxjs, react-router-dom, redux). As a result, you will see these libraries listed
as peer dependencies.
Unless you are using these hooks directly, you need not install these dependencies.
Contributions are very welcome and wanted.
To submit your custom hook, make sure you have thoroughly read and understood the CONTRIBUTING guidelines.
Prior to submitting your pull request: please take note of the following
npm test
and npm build
before submitting your merge request.Icon made by Freepik from www.flaticon.com
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
packaging workflow detected
Details
Reason
Found 6/15 approved changesets -- score normalized to 4
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More